Assembler: Tall drop down menus overflow the container and are clipped #7844
Labels
Customer Report
Issues or PRs that were reported via Happiness. Previously known as "Happiness Request".
[Feature Group] Appearance & Themes
Features related to the appearance of sites.
[Pri] Normal
Triaged
[Type] Bug
Something isn't working
Quick summary
The main menu is nested inside a cover block that is site as
overflow:hidden
.If enough drop-down menus are added to the main menu, they will overflow and become invisible & unreachable.
Here's a video:
Kapture.2024-06-04.at.11.10.28.mp4
Adding this CSS fixes the issue (but it might be too generic and affect cover blocks elsewhere). Perhaps we could use
.wp-site-blocks > .wp-block-cover:has(.wp-block-navigation__submenu-container)
to increase specificity:After adding this code, the dropdown is no longer constrained by the cover block's height:
Context: 8268355-zd-a8c
Steps to reproduce
What you expected to happen
All items should remain visible.
What actually happened
Submenu items were clipped.
The text was updated successfully, but these errors were encountered: