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

"Add question" pop-up doesn't scroll if too long so buttons pushed off small screens

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Ideally, install lots of contrib qtype. However, you can test this with just the standard qtypes by making your browser window very small.

      Also, please test this on as many browsers/themes as possible.

      1. Go to the Question bank.
      2. Click on 'Create a new question...'.
      3. Resize the browser window to that the full list of qtypes, and/or the qtype description, does not fit. Ensure that the dialogue gets smaller and you get scroll bars. (Previously, the dialogue would just not fit, and you would not see the buttons at the bottom.)

      Note, this does not work well in boostrap-based themes, due to a bug in recess. See the comment in the code.

      Similarly, it does not work quite as well in IE8, but there is a work-around there that should be OK.

      Show
      Ideally, install lots of contrib qtype. However, you can test this with just the standard qtypes by making your browser window very small. Also, please test this on as many browsers/themes as possible. Go to the Question bank. Click on 'Create a new question...'. Resize the browser window to that the full list of qtypes, and/or the qtype description, does not fit. Ensure that the dialogue gets smaller and you get scroll bars. (Previously, the dialogue would just not fit, and you would not see the buttons at the bottom.) Note, this does not work well in boostrap-based themes, due to a bug in recess. See the comment in the code. Similarly, it does not work quite as well in IE8, but there is a work-around there that should be OK.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      If you add a resource/activity to a course you get a javascript pop-up. If the list of activities grows too long then a scrollbar appears.

      The similar pop-up for adding quiz questions doesn't scroll. This means if you add more question types then the buttons can get pushed off the bottom of smaller screens.

      As well as systems with more question types installed, and people with smaller screens, people with older browsers with toolbars and people with text-size/page-zoom set larger are more likely to be affected by this.

      Workarounds include reducing text size, F11 for full screen, uninstalling unused question types and theme changes to reduce text size/padding.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/13