Re: [csswg-drafts] Prevent layout jumps on changing overflow hidden to scroll (#6262)

> [...] my goal is something more than this for example if I use "scrollbar-gutter" for slack that I said about it, it still occupies the space and it is not over the content.

@amir2mi Since we probably won't ever be able to force native overlay scrollbars, I've found it quite simple to use `transform`/`perspective`/`sticky` and some basic event handling for hovering/grabbing the scrollbar to be completely sufficient/performant in faking them. Good luck!

https://developers.google.com/web/updates/2017/03/custom-scrollbar

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


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

Received on Monday, 21 June 2021 04:47:16 UTC