We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug See codesandbox: https://codesandbox.io/p/sandbox/modern-bush-9z75c6?file=%2Fsrc%2FApp.js (Forked from the codesandbox in #766 but with the react-hotkeys-hook package version bumped to 4.4.1)
react-hotkeys-hook
4.4.1
isHotkeyPressed("LeftArrow")
useHotkeys("LeftArrow", () => ...)
isHotkeyPressed("shift")
To Reproduce Steps to reproduce the behavior:
useHotkeys
Expected behavior For the button to increment when left arrow is held down, just like shift.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
See codesandbox: https://codesandbox.io/p/sandbox/modern-bush-9z75c6?file=%2Fsrc%2FApp.js (Forked from the codesandbox in #766 but with the
react-hotkeys-hook
package version bumped to4.4.1
)isHotkeyPressed("LeftArrow")
does not seem to work.useHotkeys("LeftArrow", () => ...)
does work.isHotkeyPressed("shift")
does work.To Reproduce
Steps to reproduce the behavior:
useHotkeys
detected LeftArrow being pressed.Expected behavior
For the button to increment when left arrow is held down, just like shift.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: