-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Fix scrollbar display #6663
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
Fix scrollbar display #6663
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I wonder if this change contradicts with the reason why this change got added to begin with, but I'm fine with this chamge. |
Lighthouse Results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks better on my monitor so +1 from me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !
But this causes ugly layout shift again. |
Description
Previously, the
scrollbar-gutter
property was set tostable
, causing the scrollbar placeholder to always be present, even when scrollbars were not visible. This resulted in unwanted empty space affecting the website's design. I changed it from 'stable' to 'auto' to resolve the scrollbar display issue.Validation
when scrollbar is visible:



when scrollbar is not visible:
After the change:
Related Issues
Check List
npx turbo format
to ensure the code follows the style guide.npx turbo test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.