You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Navigation Overlays: Unreadable display with collapsed submenu #76276
Creating an overlay navigation with a submenu in WordPress 7.0 Beta 3. After opening the submenu, the submenu items on the left are cut off and not displayed correctly.
issue-navigation-overlay.mp4
Step-by-step reproduction instructions
Apperance -> Editor
Edit the header with the navigation
Choose "Main menu" (navigation block)
On the right: Settings -> Overlay template -> Overlay -> Edit with collapsed submenu (Collapses the navigation options in a menu icon opening an overlay.)
In Frontend: Show the mobile menu
Open Submenu (in this example "Blog")
The submenu items are cut off.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 7.0 Beta 3
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
Please confirm which theme type you used for testing.
Activity
annezazu commentedon Mar 9, 2026
@getdave for your awareness
getdave commentedon Mar 9, 2026
@scruffian Am I right that you were working on a PR to make it so submenu dropdowns are always positioned within the canvas?
getdave commentedon Mar 9, 2026
Potential fixes / solutions
classNameaccordingly to ensure positioning does not go offscreenscruffian commentedon Mar 9, 2026
@getdave this was what I was thinking: #75610
getdave commentedon Mar 10, 2026
I suspect the right alignment on the parent Navigation block might be the cause of this issue.
fix(navigation): prevent right-justified submenu overflow in custom o…
hagege commentedon Mar 10, 2026
@getdave
Seemed to be fixed. Thanks
annezazu commentedon Mar 10, 2026
Thanks for reporting @hagege and for working on this @getdave !
fix(navigation): prevent right-justified submenu overflow in custom o…
fix(navigation): prevent right-justified submenu overflow in custom o…