Hamburger menu problems on mobile device
-
Hello,
I am using essential blocks 3.8.0 with WordPress 6.1 and testing it on Xiaomi Mi8 phone, Android 10 QKQ1.190828.002 and Google Chrome 107.0.5304.91. I was able to replicate the same issues with Windows 10 and Google Chrome 107.0.5304.88 and its developer console with phone emulation mode.I added an Advanced Navigation block to my website and set it to switch to hamburger menu when using a mobile device.
I have two problems (but no. 2 is the really important issue):
1. the menu opened with the hamburger icon is too wide, wider than the page itself and therefore, it causes strange behavior of the mobile browser (some zooming in/out is necessary to see the whole menu). Also, the closing icon is showing out of the screen. How can this be corrected (for example, by setting the hamburger menu width to 100vw?)
2. the hamburger menu doesn’t work – when I click on the links the menu is not closing and the browser is not moving to the target html anchor. The anchors themselves work fine – if I switch to classic menu (non-hamburger) the navigation works. With the hamburger menu if I click&hold on the link and open it in new page – the link itself works fine. The problem is that the mobile browser doesn’t detect clicking on the menu items as a click which should close the menu and take me to target anchor. The same issue is visible when using the developer console of PC Google Chrome browser in mobile phone emulation mode. Is there something I’m missing? Maybe this issue is connected with the fact that I’m using link only to html anchor on the same main page and the page isn’t reloaded?Best regards!
The page I need help with: [log in to see the link]
- The topic ‘Hamburger menu problems on mobile device’ is closed to new replies.