-
Notifications
You must be signed in to change notification settings - Fork 36
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 is hidden when moving slider #38
Comments
Wondering the same here, that makes for weird jumps in the layout |
Same issue here... |
Workaround here: |
@RyanGosden @tobkum @j3ll3yfi5h The code is meant to keep your scrollbar offset in tact so that your layout doesn't jump. My layout doesn't jump on my end. I've just testing Windows and Mac across a range of browsers. The reason for the body scroll lock is for mobile support, the page should remain fixed when you're interacting with the compare viewer with your finger. It will outright break vertical option if it doesn't lock. What browsers / devices are you using that your layout is popping? Does the demo pop for you? |
If you add...
...you will see the jumping as well. I'm currently trying to find out, if scrollbars on |
This issue is based on the used library https://github.com/willmcpo/body-scroll-lock Related (unresolved) issues are: |
Minor issue which causes the page to 'jump' to the hiding and showing of scrollbar.
Edit: Looking at your src, it seems like this is deliberate. Is there a specific reason to why the scrollbar is disabled?
The text was updated successfully, but these errors were encountered: