mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
d886cba9d3
- Added the `dropdown` class to ensure toggle element focus when the dropdown is closed. - Improved keyboard handling by adding the `dropdown` class. aria.js will automatically handle keyboard interactions. - Removed redundant keyboard handling. - The "view all results" option is just a normal option in a combobox. It should not be treated as the default action for a combobox. - Ensured correct markup for 'Esc' key handling. aria.js automatically focuses on the toggle element if the dropdown's toggle and the dropdown menu are wrapped within a .dropdown element. - Implemented menu closure for outside clicks and when leaving the edit box. - Manually focused on the user search element when opening the search dropdown due to a focusLock issue. - Fix the issue of another dropdown staying open - Clicking on the clearSearchButton should not close the dropdown