3 ms·
... not exactly. It's possible to essentially reimplement the logic of how scrollbars look, where they are, and when they appear, in just CSS on modern browser
by p_l 2y ago
... not exactly.
It's possible to essentially reimplement the logic of how scrollbars look, where they are, and when they appear, in just CSS on modern browsers.
Ended up having to do part of that once because it was easier at the time than to figure out just why a mismatched browser scrollbar would show up due to complex layouting issue (in embedded world, so we didn't actually have to worry about end user preference there, otherwise I wouldn't dare use such a hack)
- scott_w 2y agoYes, that’s true but I suspect that what you’re doing is also what people are complaining about ;-)
- p_l 2y agoThere's a reason why I included "I wouldn't dare" if it was a normal website :D Especially since in our case I essentially deleted the scrollbar.
- dredmorbius 2y agoAs much as I hate what browser devs have done to scrollbars, I tend to agree with you. The one thing worse that fucked defaults is everyone throwing their own fucked personal preferences at you. Which is why sane defaults matter so damned much. There are browser configuration tweaks which can be done in at least some cases. On Firefox Mobile / Fennec, for example, there's a configuration hack which can be done. I'm having trouble tracking that down but I think this might be it: In about:config: ### scrollbar width widget.non-native-theme.scrollbar.size.override 30 ### scrollbar shape widget.non-native-theme.scrollbar.style 4 From: <https://old.reddit.com/r/firefox/comments/ujo1xy/how_to_increase_firefox_100_scrollbar_width/i7k0xde/ https://old.reddit.com/r/firefox/comments/ujo1xy/how_to_incr...>