Problem:

When the admin toolbar is visible the z-index of the main menu is changed. This is done to ensure the admin toolbar is shown on top of the main menu. However, this also causes the main menu to appear under certain page elements.

This happens in all browsers

Solution:

Don't try to change the z-index of the main menu when the admin bar is present, but instead properly update the admin toolbar's z-index.

Comments

Agami4 created an issue. See original summary.

agamich’s picture

Status: Active » Needs review
kingdutch’s picture

Status: Needs review » Needs work

Left some feedback on the PR on what we should change to fix this.

kingdutch’s picture

Title: Bug in menu in firefox on mobile » Mobile menu is shown beneath page content due to incorrect z-index
Assigned: agamich » Unassigned
Issue summary: View changes
Status: Needs work » Needs review

  • Kingdutch authored 693d3c3 on 8.x-7.x
    Issue #3096602 by Kingdutch: Fix admin toolbar and menu z-index fighting...
ronaldtebrake’s picture

Status: Needs review » Fixed

Thanks, will be in 7.6 and 8.3! :)

  • Kingdutch authored af79b2d on 8.x-8.x
    Issue #3096602 by Kingdutch: Fix admin toolbar and menu z-index fighting...

  • Kingdutch committed cc9991d on 8.x-9.x
    Issue #3096602 by Kingdutch: Fix admin toolbar and menu z-index fighting...
  • frankgraave authored 0cfc304 on 8.x-9.x
    Merge pull request #1615 from goalgorilla/bugfix/3096602-menu-firefox-...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.