jaywcjlove / react-hotkeys

React component to listen to keydown and keyup keyboard events, defining and dispatching keyboard shortcuts.

Home Page:https://jaywcjlove.github.io/react-hotkeys/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command key doesn't repeat as expected

stevenlundy opened this issue · comments

When the command key is used as a modifier it doesn't seem to allow other shortcuts to fire until the command key has been lifted again.

See example:
https://codepen.io/stevenlundyseesaw/pen/LYEdVBL?editors=0010
Command left and right should move the circle left and right without having to lift the command key
If you change it to another modifier (alt, shift) it works as expected