Roel Nieskens on Nostr: More on my native/custom scrollbar experiments! š„³ Works great in all desktop ...
More on my native/custom scrollbar experiments!
š„³ Works great in all desktop browsers
But:
š Shows native scrollbar on top of custom one in iOS
It needs to be hidden completely on iOS with `display:none` on `::webkit-scrollbar` but this breaks the handle on desktop browsers. Could be fixed with one line of iOS-specific CSS, but that means sniffing/guessing. Not too fond of that, and/but I'm already doing that for Firefox.
Still, pretty neat! What do you think?
https://codepen.io/RoelN/pen/ZEdGBgj
#css
š„³ Works great in all desktop browsers
But:
š Shows native scrollbar on top of custom one in iOS
It needs to be hidden completely on iOS with `display:none` on `::webkit-scrollbar` but this breaks the handle on desktop browsers. Could be fixed with one line of iOS-specific CSS, but that means sniffing/guessing. Not too fond of that, and/but I'm already doing that for Firefox.
Still, pretty neat! What do you think?
https://codepen.io/RoelN/pen/ZEdGBgj
#css