Core/Navigation with multiple sub menus
-
I am using the core/navigation block to set up a navigation that has multiple levels of sub menus.
This is fine, however I want the menus to open on click, rather than hover. To achieve this I select ‘open on click’ from options in the editor. Perfect!
Now on the front end, as expected the submenu opens fine on click, and then the next level sub menu opens fine on click. Now if I want to open up another submenu from the second level, I go to click it but the whole menu closes. This is because the “aria-expanded” label gets changed to “false” on all level of submenus when I click twice within the submenu, or try and change the focus to a different link.
I expect the first submenu to stay open, as I open and close the next level of links within it. Then if I clicked out of the entire nav, all submenus will close.
How can I change the how this functions?
I realise that may have got confusing so here is a screen recording of the issue – https://capture.dropbox.com/aI0dfUVZfYFsWzhv
Thanks
Ash
The page I need help with: [log in to see the link]
- The topic ‘Core/Navigation with multiple sub menus’ is closed to new replies.