-
Notifications
You must be signed in to change notification settings - Fork 160
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
HotKeys not working for form fields/inputs #138
Comments
Hey Fleuv, if this is your expectation, then it looks like you need to specify your own
|
Hi greena13, Thank you for your quick reply. Although A perfect solution for this would be, to be capable to add a similar configuration as |
Ah, it seems I was too quick to jump to a conclusion. I'll re-open and take a closer look at your issue. |
Great thank you! Also a little side-note which might be a little off-topic tho. When you have for example a |
This should be resolved in v2.0.0-pre4. I've tested on the example app and added a few tests to the test suite, and all appears to be well. Please let me know if this is not the case and I'll re-open. |
Could you please also test this is still the case and open a separate issue if it still represents a problem for you? |
Describe the bug
When adding HotKeys to an input it seems not to be added.
**How are you using react hotkeys components?
HotKeys, GlobalHotKeys
Expected behavior
The HotKey handler is triggered even when the input is in focus.
Platform:
Are you willing and able to create a PR request to fix this issue?
No, sorry.
**APPLICABLE TO v2.0.0-pre1 AND ABOVE: ** yes
Include the smallest log that includes your issue:
Code to reproduce
Field.jsx
App.jsx
The text was updated successfully, but these errors were encountered: