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

Opacity Bug in action menu when sections are hidden

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6.4, 2.7.2, 2.8
    • Fix Version/s: None
    • Component/s: HTML and CSS, JavaScript, Themes
    • Labels:
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE

      Description

      I'm using the clean theme, and when you have 2 sections hidden, both of which have activities also.

      As an instructor when you go and open the action menu, on the hidden section above the other section, the action menu's absolute positioning is changed because opacity causes a different z-index context.

      So even though the action menu's z-index is set to 1000, changing the opacity on a whole section causes that z-index to be ignored when rendering the sections.

      Because of this, it makes the action menu unusable. So for instance I can't click the delete button in my image below

      Screenshot attached for a visual representation:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jhoopes John Hoopes
              Participants:
              Component watchers:
              Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Bas Brands
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: