Re: [csswg-drafts] [css-ui-4][css-overflow] Suggestion: "Overflow styling" / Scrollbar styling

I'd like to chime in with an obvious use case for overlaid scrollbars which don't reserve gutter space.

Consider a vertically split layout in which you have a scrollable selectable list (or any other content with varying backgrounds) on the left side. A constantly visible vertical scrollbar in the middle of the screen is *very* intrusive in such a layout - you want it to show only while scrolling and on mouse hover.  At the same time, you don't want it to have a gutter showing between your list and the content on the right when the scrollbar is hidden.

A good example is the explorer sidebar in VS Code. Its scrollbar fades in and out on mouse-in mouse-out, but it doesn't take up any space, and the selected list item takes up the full width of the list. It's a good and useful design which functions very well, but it's not achievable with pure CSS.

-- 
GitHub Notification of comment by zocky
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/107#issuecomment-352202904 using your GitHub account

Received on Saturday, 16 December 2017 18:45:21 UTC