-
- Downloads
Improve dropdown menu keyboard navigation (#11491)
* Allow selecting menu items with the space bar in status dropdown menus * Fix modals opened by keyboard navigation being immediately closed * Fix menu items triggering modal actions * Add Tab trapping inside dropdown menu * Give focus back to last focused element when status dropdown menu closes
Showing
- app/javascript/mastodon/actions/modal.js 2 additions, 1 deletionapp/javascript/mastodon/actions/modal.js
- app/javascript/mastodon/components/dropdown_menu.js 26 additions, 18 deletionsapp/javascript/mastodon/components/dropdown_menu.js
- app/javascript/mastodon/containers/dropdown_menu_container.js 1 addition, 1 deletion...javascript/mastodon/containers/dropdown_menu_container.js
- app/javascript/mastodon/reducers/modal.js 1 addition, 1 deletionapp/javascript/mastodon/reducers/modal.js
Please register or sign in to comment