Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64288

First nav bar item in Boost has incorrect z-index -> incorrectly displaying User Tour modal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.5.1, 3.5.2, 3.5.3, 3.6
    • Fix Version/s: None
    • Component/s: Themes, User Tours
    • Labels:
      None
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      In Moodle 3.5.x, any user tour steps pointing to the first navbar item in Boost (through CSS selector body.drawer-open-left [data-region="drawer"] [data-key="home"]' or 'body.drawer-open-left [data-region="drawer"] [data-key="myhome"]'are incorrectly displayed underneath the navbar, rendering the text unreadable.

      When inspecting the element, we found that the first and active item in the navbar gets a very low z-index of '2' or '4', whereas other navbar elements get a value of at least 1001.

      To replicate:

      • Create a user tour with at least one step, pointing to an active and an inactive element in the navbar.
      • Run the user tour
      • Check that the user tour step of the active element displays underneath
      • Check that the user tour step of the other element displays correctly
      • Inspect the element with the browser inspect tool and verify that the .list-group-item.active has a z-index a very low z-index value.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jwelshoff Joost Elshoff
              Participants:
              Component watchers:
              Bas Brands, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: