hello-theme icon indicating copy to clipboard operation
hello-theme copied to clipboard

Mobile Menu: Toggle Submenu Broken

Open fido-hh opened this issue 2 years ago • 2 comments

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.

fido-hh avatar Sep 12 '23 12:09 fido-hh

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

kapytanhook avatar Sep 27 '24 15:09 kapytanhook

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.

lcgitrdone avatar Sep 27 '24 15:09 lcgitrdone