hello-theme
hello-theme copied to clipboard
Mobile Menu: Toggle Submenu Broken
As explained here: https://github.com/elementor/elementor/issues/22708
New installation as in above mentioned issue. No toggle element shows up on first menu level, therefore submenu items cant be opened on mobile. Pretty sure this is not a support request but a bug.
Also encountered this bug, still here in version 3.1.0 If a submenu is folded open it needs to prevent the click event from triggering the link on the parent menu button. Because this will refresh the page, not letting you ever open anything.
in assets/js/hello-frontend.js
in end of handleMenuChildren(event) {
you add: if(parentLi.classList.contains('elementor-active')){ event.preventDefault(); }
and it works fine both mobile and on desktop
I'll have to look into that -- thanks! That happens on one of my sites (not hosted by me). My solution was to stop using WP Rocket's Unused CSS feature and revert to their now-deprecated Critical RSS feature.
I can't say if my bug and this one are the same (b/c I don't understand the code at the level necessary), but the results seem identical.