-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 double scrollbars in site editor with zoom out view enabled #61548
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +72 B (0%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
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.
I'm still seeing a double scrollbar but I think it's happening less often with this PR. It seems to happen consistently if I insert a pattern that is taller than the preview:
Screen.Recording.2024-05-10.at.11.11.30.mov
458c8ac
to
05c2233
Compare
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.
This is working well for me 👍 Even though the fix is specific to zoom-out mode, I can't reproduce the multiple scrollbars outside of this mode either with this CSS. LGTM!
this fixes the scrollbars issue but now the issue is that although the content is scrollable I don't see the scrollbars even thought I have "always show scrollbars" option enabled in my OS settings. I assume this can be seen as an issue by some folks (not knowing that something is scrollable) |
What?
Maybe fixes: #61093
I'm not sure if it's the same double scrollbar issue mentioned in the issue, but at some cases depending on the viewport width you can have double scrollbar in site editor when having enabled the zoom out view.
Testing Instructions
I can't reproduce this reliably, but here are some instructions:
Screenshots before