-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.6, 3.10.3, 3.11
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MDL-71366-master -
When creating multiple-choice question with a long non breaking answer (for example a long <code> segment), the checkboxes/radiobuttons might resize such that their width gets reduced to zero. Therefore this can cause users to not see the checkbox/radiobutton and be confused/unable to answer the quiz.
This is due to the parent div of the checkboxes being a display: flex, and the inputs not having the correct style settings set. (As far as I understand flex, and skipping over [1]).
This behavior happens in Chrome. It does not happen in Firefox. However, I believe this is not a Chrome bug.
[1]: https://css-tricks.com/making-width-and-flexible-items-play-nice-together/
Disclaimer: not sure about the affected version 3.10.3; I could reproduce the issue on https://sandbox.moodledemo.net/ and assume it runs on 3.10.3; I could only see that it runs 3.10, not which exact version. Version 3.9.6 is deployed by my University.
- caused a regression
-
MDL-72906 Unnecessary scrollbar appears when selecting an option of a multiple choice question
- Closed
- has been marked as being related by
-
MDL-72064 Too easy to accidentally change your answer to a multiple-choice questions
- Closed
- is duplicated by
-
MDL-71840 Multiple choice question checkbox disappears in chrome when line is too long
- Closed