jaywcjlove/react-hotkeys

Command key doesn't repeat as expected

Open

#29 opened on Jan 8, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (22 forks)github user discovery
dependenciesenhancementhelp wanted

Repository metrics

Stars
 (442 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide