Re: [csswg-drafts] [mediaqueries-5] scrollbar-type and prefers-scrollbar-type (#7420)

The scenarios you mention are what ['scrollbar-gutter'](https://www.w3.org/TR/css-overflow-4/#propdef-scrollbar-gutter) is designed to solve. In particular, if you want to avoid placing content underneath an overlay scrollbar, `scrollbar-gutter: always;` should do the job, ensuring that some space is reserved for the overlay scrollbar to live in.

Do you know if this is insufficient for any use-cases you're worried about?

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


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

Received on Friday, 2 December 2022 22:14:16 UTC