Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch the padding approach for adding back scrollbar width with a scrollbar-gutter #119

Open
GavHern opened this issue Sep 30, 2022 · 0 comments

Comments

@GavHern
Copy link

GavHern commented Sep 30, 2022

This library adds some padding to the root to account for missing scrollbars on devices which have scrollbar width which is nice for preventing layout shift, but I have found it causes some issues for absolute/fixed position elements which sometimes still jump around and ignore the padding. Here's a link to scrollbar-gutter on MDN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant