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

Custom menus - sub-menus breaking in Bootstrap based themes

    Details

    • Database:
      MySQL
    • Testing Instructions:
      Hide
      1. Select Clean Theme
      2. In Site Administration > Appearance > Themes > Theme setting ensure that the default menu items are added to the custom menu area, then Save settings.
      3. Test Clean theme custommenu dropdown items don't have scroll bars in x-axis (bottom left>right).
      Show
      Select Clean Theme In Site Administration > Appearance > Themes > Theme setting ensure that the default menu items are added to the custom menu area, then Save settings. Test Clean theme custommenu dropdown items don't have scroll bars in x-axis (bottom left>right).
    • Workaround:
      Hide

      Add the following CSS rule to your bootstrap theme's Custom CSS settings page.

       
      .open > .dropdown-menu {
      overflow: visible;
      }

      Show
      Add the following CSS rule to your bootstrap theme's Custom CSS settings page.   .open > .dropdown-menu { overflow: visible; }
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-41788_master_3

      Description

      When upgrading to the latest stable via GIT, it appears that someone has made alterations to the code related to the custom menu items... if I upgrade, it completely breaks the submenu functionality made available as part of the "Custom Menu Items" (made available as part of the Themes)

      NOTE that I had to revert to a previous snapshot to quickly fix the issue.

      Thanks

      Mike

        Gliffy Diagrams

          Attachments

          1. 2013-12-04 18_50_50-Moodle GJB.png
            2013-12-04 18_50_50-Moodle GJB.png
            23 kB
          2. MDL-41788-langmenu.jpg
            MDL-41788-langmenu.jpg
            11 kB
          3. MDL-41788-submenu.jpg
            MDL-41788-submenu.jpg
            7 kB
          4. photo.PNG
            photo.PNG
            58 kB
          5. screenshot-1.jpg
            screenshot-1.jpg
            30 kB

            Issue Links

              Activity

                People

                • Votes:
                  6 Vote for this issue
                  Watchers:
                  17 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13