-
Notifications
You must be signed in to change notification settings - Fork 111
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
isHotkeyPressed
not working when not using useHotKeys
anywhere
#766
Comments
Seems like when using However, seems like I'd imagine the number of people using this library without using |
This seems to be related to #765 |
This is fixed with version 4 |
Seems like
isHotKeyPressed
always returnfalse
whenuseHotKeys
isn't used elsewhere in the app.Holding
shift
and clicking the button does not increment the count: https://codesandbox.io/s/prod-glitter-x5fxiw?file=/src/App.jsSame sandbox, but if I invoke
useHotKeys
, holdingshift
and clicking the button does increment the count: https://codesandbox.io/s/wizardly-sun-1ns9sz?file=/src/App.jsThe text was updated successfully, but these errors were encountered: