-
Bug
-
Resolution: Fixed
-
Minor
-
DEV backlog
-
-
MOODLE_38_STABLE
-
MOBILE-3254_integration
-
Moodle App 3.8.1
When login for the first time, double click on the course before it finish loading cause the app to open the page two times.
Step to reproduce:
- Open the Moodle mobile app and field the URL field with value https://school.moodledemo.net/
- Enter username password student/moodle
- **Press Connect.
- After the loading dialog hidden, quickly double click on any course before course's image showing up.
- The course open two new pages.
Expected: Even if user click multiple time on the course, the app should only open course once.
Note:
- Log out and login again can also cause this issue.
- App can open more than two pages if the user keeps pressing.
- Network connection doesn't need to be very slow, after recording this, I have tried to download a large file from Google Drive, and the download speed is around 550 Kb/s.
Update: I've attached the video about the course open twice.
Update (18-Dec-2019):
Look like this's Ionic's issue:
https://github.com/ionic-team/ionic-v3/issues/870
https://github.com/ionic-team/ionic/issues/13935
This issue not only occur when navigate into the course but also into activity, no slow internet connection needed, I've uploaded the demo video that waits for the course to completely load before interacting.
We can fix this by using the suggestion in the Github's issue page, but look like we will need to do this for every module:
if (!navCtrl.isTransitioning()) { |
navCtrl.push('CoreCourseSectionPage', params); |
}
|