Menu disappears in mobile view
See original GitHub issueBug description
When viewing the website on a mobile device such as a phone (smaller resolution) the menu dissapears.
When using the developer tools in Chrome, it seems that the element to expand the menu is there but there is no glyph to show that there is a menu. In addition when clicking the element the menu does not push content down, instead the area becomes scrollable and a sidebar appears if the cursor is in the menu and you scroll with the middle mouse button.
Reproduction steps
- Open the portal in Google Chrome
- Open the devtools - F12
- Press the ‘Toggle Device toolbar’ button - Ctrl+Shift+M
- Any resolution below 600px by (n) works.
Expected behavior
Obvious button to expand menu is visible. Menu is visible when expanded.
Is your portal managed or self-hosted?
Managed and Self-hosted
Release tag or commit SHA (if using self-hosted version)
Latest version
Environment
- Operating system: [Android, iOS]
- Browser: [Google Chrome] - others not tested
- Version: [latest]
Additional context
Changing the size of the logo or removing it completely does not affect the behaviour of the bug.
In DevTools look for
<button class="collapsible-toggle hamburger" aria-label="Toggle" data-toggle="collapsible">
<i class="icon icon-menu-8"></i>
</button>
Issue Analytics
- State:
- Created 4 years ago
- Comments:11
Top Results From Across the Web
Top Bar menu disappears on Mobile - WordPress.org
It appears that only the menu disappears (and the top bar area stays). ... The top bar menu moves inside the main menu...
Read more >Menu Disappears On Mobile View - css - Stack Overflow
You have the following media queries: // element <ul id="navigation" class="menu"> // (index)line 220 @media screen and (max-width: 800px) ...
Read more >How to fix: 'Menu bar disappears on mobile' in Zelle
How to fix: 'Menu bar disappears on mobile' in Zelle. It's really easy to fix. You just need to go Appearance -> Customize...
Read more >Mobile Menu Disappears When Touched - Support - Themeco
Hi David, I checked your website on mobile and found the Hamburger menu is showing, but while clicked into the menu it suddenly...
Read more >The navigation menu disappears in mobile view. help - General
I think you should start the menu from scratch. try to rebuild the menu and make sure you are not deleting any of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in #415. However, there is still a lack of customization control for the “hamburger” button (e.g. you can’t change its color). That will be fixed soon as well.
Hi @ArkimeraMattias, yes, there is some progress. In the next release, we’re shipping a concept of Popups, which brings much more flexible options for addressing scenarios like mobile menus (and many others). You’ll be able to customize a popup as you need (position, alignment, padding, background, borders, backdrop, etc.) and assign it to any linkable trigger (button, menu item, etc.).
The popups and visibility (on different form factors) option will eventually replace the “collapsible panel” widget (which is obviously hard to configure). So, using this approach (plus Menu snippets and docs), you’ll be able to customize the “hamburger” button itself (which is just a regular Button with a popup attached) and how your menu appears on mobile (which is a regular Menu widget placed on the popup).