greena13 / react-hotkeys

Declarative hotkey and focus area management for React
https://github.com/greena13/react-hotkeys
ISC License
2.15k stars 161 forks source link

custom key codes shift+num1[BUG] #299

Open zcaalock opened 3 years ago

zcaalock commented 3 years ago

`configure({ customKeyCodes: { 97: 'num1'
} })

const keyMap = { TEST: "shift+num1" };`

when i press shift then numpad1 it doesn't work, if i do it the other way, numpad1 and then shift it works. Is this bug or am i doing something wrong? f.e, shift+t works as intended no matter what key i press first