globalShortcut should allow for registering shortcut that should be triggered once by keypress #20567
Closed
3 tasks done
Labels
Projects
Preflight Checklist
Issue Details
Expected Behavior
globalShortcut.register
should only call the callback once by keypress when the user keeps pressing the keys matching a shortcut (or have a mode for it)E.g. On
Spotify
keeping pressingNext
should only change songs once.Actual Behavior
globalShortcut.register
is calling the callback repeatedly when the user keeps pressing the keys matching the shortcutE.g. On
Spotify
keeping pressingNext
is changing the songs repeatedly to the point it will actually crashTo Reproduce
num7
console logs.Screenshots
Additional Information
The text was updated successfully, but these errors were encountered: