Triggers while focussed on input field since v3.0.0
See original GitHub issueSince updating to v3.0.0, the hotkeys also trigger while entering text in an input field.
I use the hook like this:
useHotkeys('d', () => toggle());
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Only trigger event while form field is focused - Stack Overflow
I have a simple form, and I trigger a Bootstrap popover whenever the user focuses on a particular field. The problem is that...
Read more >onSelect Event triggered on focus · Issue #360 - GitHub
For some reason, after an item was already selected, the 'onSelect' event is triggered when the input field receives focus.
Read more >Focusing: focus/blur - The Modern JavaScript Tutorial
The focus event is called on focusing, and blur – when the element loses the focus. Let's use them for validation of an...
Read more >.focus() | jQuery API Documentation
The focus event is sent to an element when it gains focus. This event is implicitly applicable to a limited set of elements,...
Read more >JQuery | Set focus on a form input text field on page load
jQuery focus() Method: The focus event happens when an element gets focus (Either selected by a mouse click or by “tab-navigating” to it)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@richardsolomou Finally fixed this behavior in the
3.3.0
version. If a target element has itscontentEditable
attribute set totrue
, hotkeys won’t trigger.I am sorry, I’ll look into it. Shouldn’t create a major update before the holidays, haha.