slatex / sTeX-React

GNU Affero General Public License v3.0
3 stars 3 forks source link

Quiz A6 kein Input möglich #296

Open abchugh opened 7 months ago

abchugh commented 7 months ago

A content ERROR was logged by "a user" at the following url:

https://courses.voll-ki.fau.de/de/quiz/quiz-429f337b

The issue as described by the user:

Es war nicht möglich in die Antwortfelder Zahlen (oder irgendwelchen Input) einzutragen

The text highlighted while reporting this issue:

Aufgabe 6 von 7 (Normalization)
behroozbc commented 7 months ago

I had the same issue with the problem 7( Normalization). my browser Microsoft Edge Version 124.0.2478.67 (Official build) (64-bit)

abchugh commented 7 months ago

This was caused because the input box was inside a <math> element. Dennis says that this is "technically undefined behaviour". From our tests, it was clear that moving the box out of the math block fixed the issue. Also, if copy the problematic HTML from the browser debugger and give the HTML back to the browser, it works.

So the issue seems to be caused due to some JS (or maybe CSS) that corrupts the state of the input box. Not clear if the bug is one of the libraries that we use (e.g. materialUI) or a browser support issue or something else.