Re: [csswg-drafts] [css-overflow-4] scrollbar-gutter is too complex (#4674)

Yeah, and for the third use-case scrollbar-gutter doesn't seem a great fit (as @smfr said, you mostly want to be able to position interactive elements outside of the overlay scrollbar area, not all elements, that kinda defeats the purpose of overlay scrollbars). 

Side note: I just realized that for the first use-case there's already a way around it, fwiw, which is something like `scrollbar-color: transparent transparent; overflow-y: scroll`. That doesn't work for the second since you want to actually show the scrollbar if needed though, so we need `scrollbar-gutter: stable` for that :)

Given those are the cases that people are interested in solving, and that we can always extend the property later if needed, simplifying `scrollbar-gutter` to apply to scrollable boxes, and maybe to just `{auto, stable, always}` (do we need `both`?) seems like a good path forward to solve those two use-cases, and seems much more reasonable to specify and implement interoperably.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 22 April 2021 10:49:57 UTC