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

Modal dialogs: Wrong behavior of popup 'Add an activity or resource' when scale screen size between mobile view and fullscreen view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.8.3, 3.9
    • Fix Version/s: 3.8.4, 3.9.1
    • Component/s: JavaScript
    • Labels:
    • Testing Instructions:
      Hide

      Case 1 (Moodle version <=3.8):

      1. Go to course
      2. Turn editing on
      3. Reduce the browser to mobile
      4. Click 'Add an activity and resource'
      5. Scale screen size to full screen or click 'Maximize' button on browser
      6. Scale screen again to mobile view or click 'Restore down' button of browser
      7. Verify that there is no more a grey background appear and the pop-up is fullscreen

      Case 2 (Moodle version <=3.8):

      1. Go to the course
      2. Turn editing on
      3. Reduce the browser to mobile view
      4. Click 'Add an activity and resource'
      5. Scale screen size to full screen or click 'Maximize' button on browser
      6. Scale screen again to mobile view or click 'Restore down' button of browser
      7. Click 'Escape' button to close the pop-up
      8. Click 'Add an activity or resource' again
      9. Verify that there is no more a blank space below 'Add' button

      Case 3 (Moodle version >=3.9):

      1. Go to /question/edit.php?courseid=<your course id> (you can also get there through the UI)
      2. Resize browser to mobile size.
      3. Click 'Create a new question...'
      4. Scale screen size to full screen or click 'Maximize' button on browser
      5. Scale screen again to mobile view or click 'Restore down' button of browser
      6. Verify that there is no more a grey background appear and the pop-up is fullscreen
      Show
      Case 1 (Moodle version <=3.8): Go to course Turn editing on Reduce the browser to mobile Click 'Add an activity and resource' Scale screen size to full screen or click 'Maximize' button on browser Scale screen again to mobile view or click 'Restore down' button of browser Verify that there is no more a grey background appear and the pop-up is fullscreen Case 2 (Moodle version <=3.8): Go to the course Turn editing on Reduce the browser to mobile view Click 'Add an activity and resource' Scale screen size to full screen or click 'Maximize' button on browser Scale screen again to mobile view or click 'Restore down' button of browser Click 'Escape' button to close the pop-up Click 'Add an activity or resource' again Verify that there is no more a blank space below 'Add' button Case 3 (Moodle version >=3.9): Go to /question/edit.php?courseid=<your course id> (you can also get there through the UI) Resize browser to mobile size. Click 'Create a new question...' Scale screen size to full screen or click 'Maximize' button on browser Scale screen again to mobile view or click 'Restore down' button of browser Verify that there is no more a grey background appear and the pop-up is fullscreen
    • Affected Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull 3.8 Branch:
      MDL-68841-3.8.3
    • Pull Master Branch:
      MDL-68841-master

      Description

      Step to reproduce:

      Go to course
      Turn editing on
      Reduce the browser tho mobile
      Click 'Add an activity an d resource'
      Scale screen size to full screen or click 'Maximize' button on browser
      Scale screen again to mobile view or click 'Restore down' button of browser
      Verify that there is a grey background appear 

      Please see attachment below:

      issue modal popup core.gif

        Attachments

          Activity

            People

            Assignee:
            dinhhien0307 DinhPhamVinhHien
            Reporter:
            dinhhien0307 DinhPhamVinhHien
            Peer reviewer:
            Sam Marshall
            Integrator:
            Adrian Greeve
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Jul/20

                Time Tracking

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