question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Menu disappears in mobile view

See original GitHub issue

Bug 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

  1. Open the portal in Google Chrome
  2. Open the devtools - F12
  3. Press the ‘Toggle Device toolbar’ button - Ctrl+Shift+M
  4. 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>

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11

github_iconTop GitHub Comments

2reactions
azaslonovcommented, Jan 16, 2020

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.

1reaction
azaslonovcommented, Apr 16, 2021

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found