Mobile Menu Bar (disable second Klick?!)


I have a problem with my NavBar in mobile view.
The menu icon works fine (open and close).

Also when I click a link in the menu it works fine.
But after I click a link and then want to open the menu again, I have to click the menu button twice. (1st click for the second click on the menu icon to close the menu - even if is already closed).
Is there a way, that i dont have to klick the Menu-Button twice in that case?

I hope this is all understandable.

Here is my public share link:


I disabled the second click action on the Benu-Button (=“X”) and created an invisible DIV in front of the “X” which is only visible if the Menu is open. This invisible DIV has the Click-Action to close the Menu.

I hope this helps somebody :wink: