instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.45k stars 2.44k forks source link

No scrollbar in New Quizzes dropdown menu #2129

Open dkrasne opened 1 year ago

dkrasne commented 1 year ago

Summary:

In some browsers, when using a Fill in the Blank question in New Quizzes with Answer Type 'Dropdown', if there are more possible answers than fit in the default-sized menu, there is no scroll-bar. The attached image will show this more clearly than that explanation; there were in fact 15 possible answers to choose from on that question. image_123927839

Steps to reproduce:

  1. Create a 'Fill in the Blank' question in New Quizzes
  2. Select Answer Type 'Dropdown'
  3. Add a large number of distractor answers (more than 7, but I don't know exactly how many; 15 will definitely show the problem)
  4. Take the quiz on a Macbook using Safari (I don't know the specific OS or version of Safari; this was what the student who discovered the glitch told me he was using)
  5. There will be no scrollbar on the dropdown menu to show that there are additional possible answers. It DOES work as expected using Firefox on Windows 10, to show the expected behavior.

Expected behavior:

There should be a scrollbar on the dropdown menu if there are more answers than fit in the default-sized menu. correct_quiz_question_behavior

Actual behavior:

On some browsers, there's no scrollbar.

Additional notes:

This is especially an issue if students think that they're looking at all the possible answers but the correct one is not among the visible answers, but it's an issue regardless.