Block Settings Menu: Unintended horizontal scrollbar in FF on Windows 11 #60355
Labels
Browser Issues
Issues or PRs that are related to browser specific problems
[Feature] Block settings menu
The block settings screen
[Feature] List View
Menu item in the top toolbar to select blocks from a list of links.
OS Issues
Issues or PRs that are related to OS specific problems
[Type] Bug
An existing feature does not function as intended
Description
The block settings menu in both the list view and the editor canvas displays an unintended horizontal scrollbar in the following circumstances:
Kudos @Marc-pi for reporting this issue.
Step-by-step reproduction instructions
In FF running on Windows 11 with scrollbars set to always show, set your browser height so that it isn't very tall. That is, so that it's short enough that when opening the block settings menu, there is a vertical scrollbar.
Add some blocks to a post, page, or template, specifically including a Group block, since it has many more menu options.
Right-click on the Group block in the list view, or open the block settings menu in the editor canvas. Note that in addition to the vertical scrollbar, there is an unexpected horizontal scrollbar. My hunch is that it's likely related to some of the negative margins in the keyboard shortcuts or icons there, and that FF on Windows (at least) doesn't automatically make room for the scrollbars, so the negative margins don't play nicely in this particular area.
Screenshots, screen recording, code snippet
Block settings menu in the List View
Block settings menu in the editor canvas
Where to set scrollbars to always display
If, like me, you rarely use Windows, here is where to switch "Always show scrollbars" on.
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: