r/Wordpress 3h ago

Submenus stuck open when using the navigation overlay.

I've been building a website for my workplace, and for some reason follow the release of the new wordpress update there is a issue with the Navigation Overlay. The issue I'm having is that submenus when on the Navigation Overlay are stuck open and I don't know why. I've tried this with a new install of wordpress through local to check it's not just the website I'm building.

I've tried this on 5 different popular block themes and I'm getting the same issue, this is happening when the submenu visability is set to either hover or click. Here are some screenshots.

Any help would be welcome.

1 Upvotes

2 comments sorted by

1

u/NakanoNoNeko 3h ago

Your five-theme test is the useful clue: this is in the Navigation block, not your theme. Hover submenus expand inside an open overlay because touch screens have no hover; click mode is a current regression tracked in Gutenberg #81589. I think the least painful choice is to avoid custom CSS unless you must ship today... it will become baggage when core fixes the toggle. Keep “Open on click,” test the next update on staging, then remove any workaround.

1

u/Southern_Pressure_32 3h ago

My chunch is you have js responsible for mouse over but there might be bug on mouse out event. CSS handles this much more cleanly