-
Notifications
You must be signed in to change notification settings - Fork 542
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
Flickering Scroll Bar in Chrome During Tour Navigation #1115
Comments
Hey @danleeb This seems like an implementation problem, not an issue with the library itself. |
Hey @danleeb Humm, Linux. |
The scrollbar is not visible unless I click the start/next/back buttons. I can reproduce the issue on Windows with Chrome as well. Just tested it in Browserstack with Windows 11 and Chrome 131 (latest). Going to https://codesandbox.io/p/devbox/github/gilbarbara/react-joyride-demo, selecting the "Carousel" example and navigating the tour shows a flickering scrollbar like in the gif above. |
I have tested on the latest Chrome//Firefox/Edge on Windows 11 and haven't seen any flickering. |
If the scrollbar is visible you must increase the window/viewport height so it's not visible anymore. Then click the "next" button. Just like in the gif above. |
Hey @danleeb Anyway, I don't have much time to investigate now, so feel free to submit a PR. |
I submitted a PR that should fix the issue. Unfortunately, it's not the most elegant solution, but it should give you an idea of how to fix it. From the PR:
|
My current workaround to prevent the scrollbar from flickering is setting
|
🐛 Bug Report
When a tour starts or the user navigates between steps, a vertical scroll bar appears for a split second in Chrome/Chromium browsers if the page otherwise has no scroll bars.
To Reproduce
This can be reproduced using a Chrome browser in the "Carousel" example in the official demo sandbox: https://codesandbox.io/p/devbox/github/gilbarbara/react-joyride-demo
Expected behavior
If the step popup can be contained on the current page, scroll bars should not be displayed to prevent the page layout from jumping for a split second.
The text was updated successfully, but these errors were encountered: