Block with long toolbar goes behind block settings #39441
Labels
[Package] Block editor
/packages/block-editor
[Type] Bug
An existing feature does not function as intended
Description
When a block has
ToolbarButton
that are too wide to fit on the viewport, it should scroll horizontally until the 'three dots' block settings menu is displayed at the far right of the Toolbar. If there is an intermediary element, e.g. a div or aToolbarGroup
the 'three dots' block settings menu is displayed over it instead.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
With ToolbarGroup
The expected behaviour - made by removing ToolbarGroup from the menu
https://user-images.githubusercontent.com/93301/158274170-ba939f80-fe1f-4c07-80e6-004ca787c094.mp4
Here's the example menu I used, just paste it over an existing blocks edit method to be able to reproduce quickly
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: