Hello everyone,
I have a problem with my sidebar on Apple tablets and mobiles (this bug has only been noticed on these devices).
When the user clicks on the hamburger menu, the icon disappears but the menu does not appear anywhere.
Here is how it works:
The icon and the menu are linked to a variable “show_mobile_navbar”, when we click on the hamburger the icon disappears the menu appears.
Maybe this has something to do with the screen size of ipads?
Normally ipads have a bigger resolution than regular tablets.
And if you are manually placing the menu it might be somewhere outside your visual range.
Is your sidebar the ready to use element “sidemenu”?
Whether on iPad or iPhone, the problem is the same. Here are screens on iPhone 13. We simply see the hamburger icon disappear when we click on it (which is the expected operation) but the menu does not appear.
Hello everyone !
I managed to resolve the issue… here’s what it was (if this helps anyone).
Apparently: “The fact that your sidebar is not displayed on any Apple mobile device, even with Chrome or Firefox (which use WebKit on iOS), but works on Android and desktop (Mac and PC), indicates a bug specific to iOS Mobile Safari/WebKit Mobile.”
So I looked for a solution in this sense. In the end I simply had to change the container of my hamburger menu (in red) to “block” and not to “flex”. I don’t know why it adapted properly under Android, but under iOS the menu opened inside this container without the size adapting.