When there isn't space on top and below the block, the toolbar overlaps the block #38409
Labels
General Interface
Parts of the UI which don't fall neatly under other labels.
Needs Design Feedback
Needs general design feedback.
[Type] Enhancement
A suggestion for improvement.
Description
Working on woocommerce/woocommerce-blocks#5581 we noticed a strange behavior about the toolbar position: when there isn't space on top and below the block, the toolbar overlaps the block.
This behavior could generate a not optimal great experience (see image 2 and image 3).
I discovered that this use-case is handled here.
Maybe a related issue is #37076.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
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: