Skip to content
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

useKeyPress doesn't take multiple keys #285

Open
rdeusser opened this issue Mar 8, 2024 · 0 comments
Open

useKeyPress doesn't take multiple keys #285

rdeusser opened this issue Mar 8, 2024 · 0 comments

Comments

@rdeusser
Copy link

rdeusser commented Mar 8, 2024

Found this hoping I could use multiple keys, but that doesn't seem to be the case.

I've tried the following variations:

useKeyPress("Control k", onKeyPress)
useKeyPress("Control+k", onKeyPress)
useKeyPress("Control + k", onKeyPress)

Am I missing something or does usehooks not support multiple keys?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant