We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, locking the window scroll move the page content because the viewport becomes larger.
Add an option to compensate by adding padding to the element (html/body) like other popular packages: https://www.npmjs.com/package/body-scroll-lock#reservescrollbargap
Wrap this in a composable that does it manually
No response
The text was updated successfully, but these errors were encountered:
Other alternative, use https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter But it is not supported in Safari yet, and even when it land it won't solve the problem for anyone that has not updated
Sorry, something went wrong.
No branches or pull requests
Clear and concise description of the problem
Currently, locking the window scroll move the page content because the viewport becomes larger.
Suggested solution
Add an option to compensate by adding padding to the element (html/body) like other popular packages: https://www.npmjs.com/package/body-scroll-lock#reservescrollbargap
Alternative
Wrap this in a composable that does it manually
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: