by mietek · 13y ago · 0 comments
> One alternative is to ignore iOS and OS X users. But that’s not very nice. There are many scrolling libraries available that you can use, such as NiceScroll.
> Or you can just make your own indicator like the one seen at the very start of the article. Just don’t use a horizontal indicator for vertical progression :)
No! Do not do this. Just stop. Stop reinventing and reimplementing the scrollbar.
Going out of your way as a content author to correct for the user interface quirks of the reader's preferred reading environment seems extraordinary and unnecessary.
Presumably a non-trivial number of iOS and OS X users actually like the fact that scrollbars are hidden from view while reading and it may have been a factor (a small one, admittedly) in their decision process.
I agree with the OP in large measure.
I would actually say that it's outright user hostile to do this sort of garbage.
Here is what scroll bar does for me:
1. It gives me instant feedback about the size of the document (the shorter the scrollbar the bigger the document).
2. It shows me rough position in the document.
3. Provides reading context (I'm 35% into the document and I'm reading on subject X) which aids memorizing the material.
I'm a mathematician and numbers are my thing. Some people use number memorizing technique where they walk through a familiar place and assign numbers to landmarks. And to recall numbers they walk the route again in their head and "read" the numbers off the landmarks. This is the technique those freaks that can recite thousands and thousand of decimals of Pi use.
In effect the scroll bar does the same for me. It's my landmark and I assign topics to its position which allows me to remember better. If I want to quickly re-read something weeks later I can open the document and within seconds get there just by scroll bar position. And one could say search would work here too, but often times it does not because I don't remember exactly the string I want to find in the document (and some documents are not searchable).
Once I upgraded to Mountain Lion from Snow Leopard, I found the default scroll bar setting extremely bothersome and my read content retention much much lower until I put the scroll bars back.
So another anecdotal reason why dynamically showing/hiding UI elements is usually a bad idea.
"I've read this much of the article and I'm only 1/20th of the way down?" [user stops reading, unaware that there's 450 comments and the article is actually pretty short]
But, as we all know, comments are usually total garbage. The problem is not that they get included in the scroll bar, but that they get included with the article. We need to fix, or remove comments, not scroll bars.
Thankfully there's still a setting to always show scrollbars. For now.
Originally, the scroll bar itself was the interface. You scrolled by clicking the little arrows, or by grabbing the scroll thumb and dragging. But when scroll wheels were introduced, the scroll bar became less necessary. And with the advent of trackpad magic/mouse scrolling, which support both horizontal and vertical scrolling, the scroll-bar-as-interface becomes ridiculous.
(Note that the default OS X behavior is not "hide scroll bars," but "hide scroll bars if your mouse or trackpad supports scrolling.")
That said, while there's no longer much need to interact with scroll bars, there's still a need to indicate that scrolling is possible, and possibly your position in the document. But surely we can convey that in fewer than the ten thousand pixels that a scroll bar consumes?
This isn't true; scroll wheels are more convenient than using the scroll bar for progressing through a document sequentially, but there's no facility for absolute positioning using a scroll wheel. You can't move to a specific point on the page with the wheel, and can only move in one direction or the other at a speed limited by how fast you can physically spin the wheel on the mouse.
Probably the best alternative to a scrollbar for absolute positioning that I've ever seen is the "document map" feature of some text editors, which provides a vertical thumbnail of the entire document in a column that works similarly to the way a mini-map in a game works: you see the layout of the document, zoomed out, and can click on exactly where you want to go.
I am typing this on a iMac 2006 and even if the mouse has a wheel I still grab the bar because it's more precise (it allows to put the text where I want) than scrolling (which just increments height offset by a proportional fixed value).
I'm nevertheless of the point of view that the content author should not fuss with these specific particulars, leaving them instead to the discretion of the designers of the reading environment itself. The consumer of the content can then weigh the design of those elements when selecting a preferred reading environment.
In principle I agree with you. In this case apple's decision causes actual problems with content. Putting stuff in a scrollable iframe, or overflow scroll pane now involves carefully instructing people on how to scroll it. Or you force your own custom scrollbars. Or just not have scrollable panes-- you could argue that is a good thing, but sometimes they are unavoidable. Like, for instance, here on HN if someone happens to post an extremely long code segment.
if you are using a mac, remember that you need to scroll horizontally to read all of the above message.on an ipad use two fingers to scroll it.
Do you get my point? Is the above a problem for HN or for Apple or for the User to puzzle out?
EDIT: Scrollbars are inside viewport, meaning they're effectively part of my document, and I'd like to have a say how they look like, the same as form elements.
Thankfully you can make scroll bars persistent in System Preferences.
It's just simply a bad decision. There shouldn't be a preference, it should just be on by default, end of story. It only makes sense on iPads.
The fact that it's auto-hide by default means that most mac owners will just simply have their machines set to auto-hide the scrollbar, and very likely have no idea that a setting exists- Then blame it all on the content owners for making a bad/hard to use site. (especially if they decide they want a scrollable pane with OS specific scrollbars on it)
To expand a little bit, even something as seemingly arbitrary, like driving on the right or left side of the road, is not a matter of preference. If you pick the wrong one in a certain country, you can equally get yourself killed as with your other more obviously wrong "preferences". There is value in having everything work in a standard way.
After that happens a couple of times, they eventually find their way to the System Preferences.
I read a lot on my mac, and I love the lack of scrollbar. It's one less 'element' on my reading experience (similar to almost all ebook readers not having chrome, like scrollbars and page numbers, or hiding chrome unless specifically requested). And because of how integral and 'decent' using the touchpad is (two finger scroll), I automatically scroll briefly to show the scrollbar in those few instances where I care about what position on the page I'm at.
Of course, that's just one example, but I know many others who feel similarly. 'Apple knows best' doesn't just mean marketing and pretty, it often means decent choices that are good for a large percentage of people, and yes, you have to accept that.
I find apple does do a lot of stuff that doesn't work for me. Even the lack scroll bars I rather hate when I use Finder (and don't get me started on that!). I use an android phone for that very reason.
I don't always like the choices that apple makes for me, and I might reach a point where I opt out completely. I'm just saying that in this case I think apple made a risky but decent choice, that wasn't just about 'pretty' or 'marketing'.
I see it whenever I switch tabs, and I see it whenever I start to scroll. I always have an idea of how long the page is and I don't need a constant reminder of it. It's not like it's a precision instrument anyway - who can precisely gauge the length of an article based on scroll bar length and current window size? Rain Man?
I can switch back to the always-on behavior if I want to, but I haven't wanted to.
Reimplementing the scrollbar for users who have not taken the option to show the scrollbar is deliberately going against their stated preference.
While in general I agree with your post, I think saying it goes "against their stated preferences" is a bit strong considering that (from what I've read here) not showing the scrollbar is the default. In my experience many people never change the defaults.
Interesting, on what devices? We are using NiceScroll for a widget right now and it's very smooth, even on my Nexus 4.
At the end of the day, customers and others browsing your site are unlikely to understand why there's no visual indication on their mac, and why you didn't put one on your site.Sooo.. if you're forced to put a visual indicator, at the very least least, make it vertical for page scrolling.
(and also, thanks for nothing, Apple UI)