-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Inserter: some Pattern categories lead to the screen breaking/overflow #44842
Comments
This also occurs with the latest version of GB installed: headerss.mov |
I was able to reproduce this issue. The size of the selected Patterns list appears to be consistent with the amount of scroll overflow past the bottom of the editor (i.e. longer lists = more unexpected white space below editor). Reproduction ReportEnvironment
Actual Results
|
What seems to be happening is that the patterns are causing an overflow. I don't know why but it's having the result of making the editor interface's body show a scrollbar. In this screenshot you can see I have double scrollbars on the right (my OS is configured to always show scrollbars): It's this style
Setting this to The other possible fix is changing this gutenberg/packages/block-editor/src/components/inserter/style.scss Lines 87 to 91 in 0167f9e
That's from #20951, but I'm not sure why it's needed. Maybe @youknowriad can recall. Setting |
edit: Have a better fix now on the same PR - #44853 |
Description
When browsing parts of the Inserter > Pattern section, I noticed some categories led to massive white space/the screen breaking, for lack of a better term. Feel free to update the title. This was hard to explain.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
overflow.patterns.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: