Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.6, 2.7
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_26_STABLE
-
MDL-42928-master -
-
100
-
FRONTEND Sprint 8
Description
IMO, this is a serious usability issue as many of our dialogues contain scrollable content. When these are open and you attempt to scroll, you'll find that the page scrolls too.
Whilst this isn't a major issue for desktop computers, those using trackpads (predominantly laptops), and those with touch screens (predominantly tablets) who swipe to get down the list will find that the whole page starts to move once the bottom (or top) of the list is reached.
In the case of the Activity Chooser, this is a serious regression.
This patch re-introduces scroll locking but using a different method. Rather than removing the scrollbars, we instead set the scrollTop and scrollLeft to the positions they were in when the dialogue was opened. We do this on every scroll event.
When the dialogue is closed, we stop forcing the scroll and release control back to the user.
Attachments
Issue Links
- duplicates
-
MDL-41481 Background scrolling is not locked when using activity chooser in a mobile device with clean theme
-
- Closed
-
- is a regression caused by
-
MDL-39851 Full screen popup for mobile (filepicker/activitychooser)
-
- Closed
-
- is blocked by
-
MDL-43664 JavaScript breaks on IE <= 8
-
- Closed
-
- is duplicated by
-
MDL-43663 Mobile: scroll down the activity chooser, the course page is also scroll down.
-
- Closed
-
- will be (partly) resolved by
-
MDL-43932 Add profiles to the behat default config file
-
- Closed
-