2 ms·
I personally prefer auto-hiding scrollbars for my own general use. But I was recently in the same position as OP trying to make horizontally scrollable section
by eyelidlessness 6y ago
I personally prefer auto-hiding scrollbars for my own general use.
But I was recently in the same position as OP trying to make horizontally scrollable sections more discoverable and it’s really a pain.
OP is using JS so there’s a lot of options, but my use case was CSS-only and I ended up giving up on the scrollbar visibility and using a “scroll shadow” instead—where overflowing content displays a small shadow over the content which fades out at the end of the scroll.
It’s not as clear as an explicit scrollbar but it’s a fairly common pattern users do often recognize.