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

Scroll ability lost after drawer collapse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Themes
    • Testing Instructions:
      Hide
      1. Login as admin
      2. Create or visit a course with a lot of content or sections
      3. Make sure you have to scroll to get to the end of the course
      4. Edit the course and add a block if no blocks are present
      5. Reduce the browser width to 900x950px
      6. Click on the 'Open block drawer' icon
      7. Close the drawer either via the close icon OR clicking on the greyed portion of the course page
      8. Verify you can still scroll up and down the page
      Show
      Login as admin Create or visit a course with a lot of content or sections Make sure you have to scroll to get to the end of the course Edit the course and add a block if no blocks are present Reduce the browser width to 900x950px Click on the 'Open block drawer' icon Close the drawer either via the close icon OR clicking on the greyed portion of the course page Verify you can still scroll up and down the page
    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-72361-master

      Description

      On a reduced viewport when the drawer is now triggered to view on top of the main screen, dismissing the drawer either by clicking the greyed out area OR clicking the close results in the drawer results in the page scrolls being disabled and only re-enabled if refreshed.

      Tested on local and QA

      With QA:

      1. Open a browser with a reduced width (900x950 should work)
      2. Log into the QA site as a teacher/admin
      3. Go to the course 'Activity Examples'
      4. Confirm you see the scrollbar and can utilise it
      5. Click on the 'Open block drawer' icon
      6. Close the drawer either via the close icon OR clicking on the greyed portion of the course page
      7. Note the scroll bar has now vanished and you cannot scroll

      Expected - page scroll bar should exist when the drawer is disabled.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              basbrands Bas Brands
              Reporter:
              peterdias Peter Dias
              Peer reviewer:
              Peter Dias Peter Dias
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Carlos Escobedo Carlos Escobedo
              Participants:
              Component watchers:
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Dec/21

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 55 minutes
                  1h 55m