Why Nostr? What is Njump?
2024-07-16 09:30:25

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
Author Public Key
npub1l40uqpa5k9u62v7wlak9w7yj6lyzjvnsr4dnep2l87pxxuuzfa2qjs38mq