-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate hotkey usages interfere with each other #153
Comments
Thank you very much for the bug report. Would you mind to create a PR with the change? |
👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have two components, mounted simultaneously, that both register the same hotkey:
Whenever one of them gets unmounted, the hotkey stops working for the other component as well.
I think it's because of this line:
react-hotkeys-hook/src/index.ts
Line 12 in 11e6cce
Because when I change it to:
it works as expected.
The text was updated successfully, but these errors were encountered: