Mobile Browser can't scroll if Essay Question exist.

Mobile Browser can't scroll if Essay Question exist.

Liko Purba -
回帖数:7
My user can't scroll their mobile browser when they attempt a quiz with Essay Question in it
I can confirm that both Andorid and iOS produce the same problem

I've tried deleted the essay questions and they can scroll

I've also tried in Moodle 4.2 and 4.1, both version can scroll the essay question
So, my conclusion is only in Moodle 4.3  that have the problem

Is there any fix yet?

Moodle Version Moodle 4.3.3+ (Build: 20240215)
Ubuntu Server  20.04.6
nginx 1.18.0
Mariadb 10.6.16
PHP 8.1.27
回复Liko Purba

Re: Mobile Browser can't scroll if Essay Question exist.

Liko Purba -
It turn out the problem is not from the Essay Question
But it's from Atto HTML Editor, I switch it to TinyMCE Editor and they can scroll
回复Liko Purba

Re: Mobile Browser can't scroll if Essay Question exist.

P Franz -
Thanks for the tip. I have that problem too.
The problem with scrolling is present on all pages with the Atto editor.

Moodel 4.3.3
Atto 2023100900
回复Liko Purba

Re: Mobile Browser can't scroll if Essay Question exist.

Josh Manders -
My colleague just helped troubleshoot and led me to your post. We are absolutely seeing the same issue in v4.3.6 with Atto. I thought it might have been something up with the matching question type but that appears to be an unrelated display problem. Thanks for posting. We updated to v4.3.3 in July and then v4.3.4 in late summer — I'm shocked today is the first time I've heard any issues from students. Has anyone been able to figure out if it's a specific component (add-on?) in Atto that is causing the issue?
回复Josh Manders

Re: Mobile Browser can't scroll if Essay Question exist.

Liko Purba -
Glad that can help you
You should move to TinyMCE
Moodle will remove Atto after 4.5

https://tracker.moodle.org/browse/MDL-77005
回复Liko Purba

Re: Mobile Browser can't scroll if Essay Question exist.

Joseph Rézeau -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像

Liko "Moodle will remove Atto after 4.5"

... and the sooner the better. It does not make sense to have to concurrent text editors in Moodle, makes life complicated for plugin developers who have to create different versions to take into account each editor's syncrasies. 😉

回复Josh Manders

Re: Mobile Browser can't scroll if Essay Question exist.

Josh Manders -
Created a tracker: https://tracker.moodle.org/browse/MDL-83728
My workaround was to add the following override to our Boost Theme. Not a good long term fix but it only needs to work long enough for us to move everyone to TinyMCE Jan. 1 2025.
/******* 11-14-2024 Hotfix exam questions with ATTO editor unable to scroll MDL-83728 *********/
@media only screen and (max-width: 768px) { /* Target mobile and tablets */
    body#page-mod-quiz-attempt {
        touch-action: auto !important;
    }
}