Metadata form fields lose focus after changing value
Expected behaviour
User should be able to fill out Metadata form with the keyboard, and focus shouldn't jump unexpectedly from a field after changing its value.
Current behaviour
User is unable to complete the form smoothly using only the keyboard, because every time he selects a value from a dropdown in the metadata form, the field loses focus and jumps in the top of the form
Steps to reproduce
- Visit Question page (Create new question)
- Click on the first field (Question type) to move the focus into the form
- Tab into the Topic field
- Select a value using keyboard
- After selecting, Topic field loses focus and it's unclear where the current focus is
- Same happens with subtopic, and course-related fields
Environment
Can be verified in staging site