-
-
Notifications
You must be signed in to change notification settings - Fork 6
Improve shortcut support implementation #160
Copy link
Copy link
Closed
Labels
bugSomething isn't working or feels brokenSomething isn't working or feels brokenenhancementImprove quality of existing featuresImprove quality of existing features
Description
Describe the bug
Currently pressed keys on the keyboard only take effect, if a specific dom element is focused. Therefore sometimes keys won't trigger the desired action.
Expected behavior
- Remove focus refs
- Replace @keydown events with https://vueuse.org/core/useMagicKeys/#usemagickeys
Additional context
Also it should be tested that this doesn't interfere with form input.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working or feels brokenSomething isn't working or feels brokenenhancementImprove quality of existing featuresImprove quality of existing features