Live data from Hacker News

Don't reinvent the scrollbar

bbrks.me

21–30 of 172 posts

Re: Don't reinvent the scrollbar

#21

Most mobile friendly articles are split across multiple pages to reduce the page size.

Which is a terrible way of doing it. Unless the page is heavy on images loading all the text at once will be far faster and easier than splitting it up.

Plus there's really no reason split them up. It's not a book, there's no limit on page length.

Re: Don't reinvent the scrollbar

#22

While I hate that Apple hides the scrollbar when not in use for the main page, the new iOS-inspired scrollbar looks much nicer when designing scrolling divs inside the page. [Note: never said anything about custom scrollbars; just that websites with scrolling divs tend to look better on OSX]

If you hate that your scrollbar is hidden when not in use, you can go to System Preferences / General and change the "Show scroll bars" setting to "Always".

If you hate that my scrollbar is hidden when not in use, well, tough luck. I like it this way.

If you force yet another custom, badly-implemented, weirdly-behaving, not-entirely-thought-through scrollbar on me, I will hate you and never visit your website again.

Re: Don't reinvent the scrollbar

#23

I personally like apple's recent approach to the scrollbar. Hiding it when not in use minimizes distraction. It's very easy to tell how long a single content page article is without needing the scrollbar to persist on the window.

My one issue with the latest Apple scrollbar is that I've yet to figure out a convenient way to scroll horizontally. The horizontal scrollbar is almost always hidden, I can't use my mouse wheel to bring it up, and using arrow keys doesn't always work either. If anyone has a suggestion, shoot. I went so far as looking for a hotkey for toggling scrollbar display (which I still think would be a good idea), but couldn't…

It's a bit of a pain, the only way I found to do it is using a Magic Mouse or a trackpad. I'll be back here in case someone has a suggestion :)

Re: Don't reinvent the scrollbar

#24
I'd love a scrollbar that displays which part is the actual article, and which part is the comments following it. Often the comments are much longer than the article, so it's difficult to gauge how much of the article is left.

Re: Don't reinvent the scrollbar

#25

I personally like apple's recent approach to the scrollbar. Hiding it when not in use minimizes distraction. It's very easy to tell how long a single content page article is without needing the scrollbar to persist on the window.

My one issue with the latest Apple scrollbar is that I've yet to figure out a convenient way to scroll horizontally. The horizontal scrollbar is almost always hidden, I can't use my mouse wheel to bring it up, and using arrow keys doesn't always work either. If anyone has a suggestion, shoot. I went so far as looking for a hotkey for toggling scrollbar display (which I still think would be a good idea), but couldn't…

When I move my mouse wheel, both scrollbars show up, if the window is horizontally scrollable at the moment.

Horizontal scrolling with the mouse wheel is done by moving the mouse wheel with the shift key down.

Note that just touching the trackpad with two fingers, as if you're about to scroll, also brings up both scrollbars.

Re: Don't reinvent the scrollbar

#27
post #13

I was nodding along, when suddenly... > 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 reimplemen…

Agreed. Not to put to fine a point on it, but if your user is on iOS or OS X, they are accustomed to losing sight of their progress because, as the article says, "Apple knows best."

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.

Re: Don't reinvent the scrollbar

#28
post #13

I was nodding along, when suddenly... > 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 reimplemen…

Agreed! OS X users can choose when to show a scrollbar: it's one of the 'General' system preferences.

Reimplementing the scrollbar for users who have not taken the option to show the scrollbar is deliberately going against their stated preference.

Re: Don't reinvent the scrollbar

#29
post #20

I hate Google News's custom scrollbar so, so much. I love how OS X hides the scrollbar when I don't need it, but Google thinks it knows better.

I hate the Google News custom scrollbar also, but I don't want my scrollbar to hide, let my browser present the scrollbar, or better yet, my OS. Don't give me something new just because you don't like the look of the scrollbars on your page. Deal with it.

Re: Don't reinvent the scrollbar

#30
post #13

I was nodding along, when suddenly... > 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 reimplemen…

Especially since NiceScroll isn't very nice. The scrolling is jerky. Leave the OS defaults for scrolling. On OS X, there is an option to keep the scrollbar always visible, and the OS itself decides to do this if you don't have an input device capable of scrolling. Some janky 3rd party scroll library isn't going to know any of this information.
Post reply on HN