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

JavaScript error popup (Notification.exception) incorrectly sized/positioned on Mobile

XMLWordPrintable

      Steps to reproduce (one of many possible ways - just need to trigger an error in JavaScript code which causes the Notification.exception pop-up or dialogue to appear):

      1. Using a mobile phone, or browser developer tools simulating a mobile,
      2. Log into Moodle and go to the edit profile screen (e.g. https://qa.moodledemo.net/user/edit.php?id=3&returnto=profile logged in as teacher.)
      3. Scroll down to the User picture filepicker, and upload a new picture by clicking the + icon (not drag-drop).
      4. Choose a file not of the expected type (e.g. a .txt file.)
      5. Click 'Upload this file'.

      Actual result:

      Expected result: Moodle dialouges should do if (this.shouldResizeFullscreen())

      { this.makeResponsive(); }

      So the dialogue becomes full screen if it won't fit. Why is that not working here?

      Note: I just realised that MDL-80689 will spoil the steps to reproduce I gave above.

        1. MDL-83648.png
          MDL-83648.png
          152 kB
        2. MDL-83648-TEST.patch
          0.7 kB
        3. the-bug.png
          the-bug.png
          73 kB

            timhunt Tim Hunt
            timhunt Tim Hunt
            Anupama Sarjoshi Anupama Sarjoshi
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.