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

Improve the action menu so that it can be placed inside absolutely positioned elements

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: HTML and CSS
    • Labels:
    • Testing Instructions:
      1. Test the user menu drop down and make sure it looks OK.
      2. Create a quiz and add a question.
      3. Test the dropdown menu from "Add" (both of them, top and bottom).
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
      48026-28
    • Pull Master Diff URL:

      Description

      Please see MDL-47978.

      The problem was that the action menu was being used inside a relatively positioned element (an element positioned by float or absolutely).
      The solution there was a quick solution for pre-release timing, however a better solution should be found to implement a property for the action menu to state that its values should not wrap.
      Then style the property so that items don't wrap and remove the quiz hack.

      This way when we encounter this sort of problem in the future we can just flick a switch and it is fixed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Peer reviewer:
              Jetha Chan
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Dave Cooper
              Participants:
              Component watchers:
              Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14