Don't unconditionally call `preventDefault` and `stopPropagation` on all keyup events (#4777)
* UploadArea should only preventDefault for Escape This will make accessibility for some things less effortful, since we won't have to define a prior event handler to do whatever should be happening by default. * Remove workaround for fixed bug in SettingToggle SettingToggle was toggling itself in response to keydown of space, and then the keyup was doing it again
Showing
- app/javascript/mastodon/features/notifications/components/setting_toggle.js 0 additions, 6 deletions...todon/features/notifications/components/setting_toggle.js
- app/javascript/mastodon/features/ui/components/upload_area.js 2 additions, 3 deletions...javascript/mastodon/features/ui/components/upload_area.js
Please register or sign in to comment