Opened 22 months ago
Last modified 22 months ago
#57445 new defect (bug)
Twenty Twenty-Three: When adding a sub-menu set to "open on click" the parent menu item is not clickable
Reported by: | zoonini | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.1.1 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
Summary
When adding a sub-menu to Twenty Twenty-Three via the Site Editor, the parent menu item is not clickable.
To Replicate
- At Appearance > Editor, add a navigation block to the Header template part
- Add a sub-menu to one of the top-level menu items
- In the Navigation block's Submenu settings on the right, select "Open on click"
- View the site on the front end and try to click the parent item above the sub-menu
Result
The top-level item that has the sub-menu under it is no no longer clickable, so it can never be reached. Clicking the parent item only opens the sub-menu.
Expected
You should be able to click the parent item above a sub-menu.
Note that this works correctly in Twenty Twenty-Two which is why I'm reporting this here instead of in the Gutenberg GitHub repo.
Testing Conditions
No active plugins
WordPress 6.1.1
Local install
User Report
https://wordpress.org/support/topic/stop-mouse-over-on-submenu-item/
Attachments (1)
Change History (4)
#1
@
22 months ago
- Component changed from Bundled Theme to Editor
Hi!
This is the intentional design or behavior of the navigation block.
When "Open on click" is selected, the parent menu item becomes a button that only expands the submenu.
It is not a bug in Twenty Twenty-Three since this navigation block option behaves this way in all themes.
That doesn't mean there is not room for improving the block or the documentation, -this behavior might still be unexpected to users. Do you want to open a new feature request in the Gutenberg GitHub repository?
#2
@
22 months ago
Thank you for having a look, @poena
It is not a bug in Twenty Twenty-Three since this navigation block option behaves this way in all themes.
You are right indeed. I had tested in Twenty Twenty-Two and thought it worked differently there, but I must have not toggled on the "on click" submenu option as I thought I had, because I retested now and you are quite correct.
Do you want to open a new feature request in the Gutenberg GitHub repository?
Yes, I will go ahead and do that and will link to it from here once it's done. Thanks again!
TT3 bug - on click submenu