Open markmcdowell opened 4 years ago
Thanks for posting your issue.
Unfortunately I do not have the time to actively work on this package, but I am seeking other active maintainers. If you are willing to create a pull request or help out, that would be an excellent way of moving this forward.
Hi there! this library is really cool, exactly what I was looking for & thanks for the hard work!
I'm raising this issue as a bug but could be more of a question of how the library is working and something else is causing a side effect.
Describe the bug When a GlobalHotKeys component is added it always receives the key events first, this means the focused HotKeys component ignores the keyup event and doesn't fire.
I've added a keydown event and a keyup event for the shift key, the keydown fires ok but the keyup never does. If I remove GlobalHotKeys it works.
How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc)
GlobalHotKeys and HotKeys
Expected behavior The focused HotKeys would respond to the events first.
Platform (please complete the following information):
Are you willing and able to create a PR request to fix this issue? Yes if I can get an idea of what is going on.
Include the smallest log that includes your issue:
What Configuration options are you using?