- From: Bramus via GitHub <noreply@w3.org>
- Date: Thu, 15 Jan 2026 10:26:48 +0000
- To: public-css-archive@w3.org
FWIW: Since we already giving authors a way to hide scrollbars altogether (using `scrollbar-width: none`) we might as well allow them to change the scrollbars to an overlay type of scrollbar. It‘s something I personally would love to see. Allowing authors to change classic scrollbars to overlay scrollbars feels like a safer thing to do than having authors hide the scrollbar and then (hopefully) have them inject a script that fakes an overlay scrollbar (or inject other things that indicate the box is scrollable). Switching classic to overlay scrollbars at least retains the affordance that the box is scrollable, whereas `scrollbar-width: none` does not out of the box. The following UI _([source](https://bsky.app/profile/alexdln.com/post/3m6mmfg3rus2x))_ for example would benefit a lot from this: <img width="561" height="902" alt="Image" src="https://github.com/user-attachments/assets/e76f733e-08b9-4e50-896e-d2d48e587253" /> If UA’s really want to always show a thumb when the user has scrollbars set to “Show always” yet the site has indicated they want overlay scrollbars, then #7421 could help, as the UA could then force apply `scrollbar-mode: visible` in that case. -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13218#issuecomment-3754050545 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 January 2026 10:26:49 UTC