-
Notifications
You must be signed in to change notification settings - Fork 338
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
Scroll bar width calculated incorrectly #239
Comments
I can confirm this happens 👍 |
Good day! Any comments from the developers of this library? |
headmandev
added a commit
to headmandev/vue3-side-panel
that referenced
this issue
Apr 16, 2023
The issue is related to the bug in body-scroll-lock willmcpo/body-scroll-lock#239
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, first of all, thanks for great library
In the source code there is a calculation of the scrollbar width
body-scroll-lock/src/bodyScrollLock.js
Line 76 in 79c4cf2
it doesn't work correctly if the body has styles
min-width: 995px
and page has meta:It looks like:
Maybe solution like in this article would be more properly:
https://javascript.info/task/scrollbar-width
The text was updated successfully, but these errors were encountered: