We are getting "Unable to preventDefault inside passive event listener" error in web console when attepting drag and drop question

We are getting "Unable to preventDefault inside passive event listener" error in web console when attepting drag and drop question

بذریعہ brami petluri -
جوابات کی تعداد: 3

Hi,

When attempting to drag and drop an option in mobile browser, the page is scrolling along with option. This is making hard to answer the question. We found the below web console error while using a drag and drop question.

"[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080"

Please check attached screenshot.

Using below version moodle:

Moodle 3.6.6+ (Build: 20190913)


منسلکہ drag_drop_error.PNG
درجہ بندی کا اوسط: -
brami petluri کے جواب میں

Re: We are getting "Unable to preventDefault inside passive event listener" error in web console when attepting drag and drop question

بذریعہ Tim Hunt -
Core developers کی تصویر Documentation writers کی تصویر Particularly helpful Moodlers کی تصویر Peer reviewers کی تصویر Plugin developers کی تصویر
Do you get the same error on the Moodle demo site? https://qa.moodledemo.net/mod/quiz/view.php?id=31
Tim Hunt کے جواب میں

Re: We are getting "Unable to preventDefault inside passive event listener" error in web console when attepting drag and drop question

بذریعہ brami petluri -
Hi,

Yes, getting the same error on https://qa.moodledemo.net/mod/quiz/view.php?id=31 site also.

Regards
brami petluri کے جواب میں

Re: We are getting "Unable to preventDefault inside passive event listener" error in web console when attepting drag and drop question

بذریعہ Tim Hunt -
Core developers کی تصویر Documentation writers کی تصویر Particularly helpful Moodlers کی تصویر Peer reviewers کی تصویر Plugin developers کی تصویر
Hmm. It does not do it for me in any desktop browser. That makes it annoying to debug. اداس

When we implemented these question types, we did test on mobile devices. And the quiz on qa.moodledemo.net is working fine on my iPhone. I don't have an android device to test with.