-
Notifications
You must be signed in to change notification settings - Fork 491
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
Typing the i
key in any input causes the global shortcut to fire
#1464
Comments
not sure how to do it with this svelte package, but if we can access the event, we need to check for this: const ignoredTags = [`INPUT`, `TEXTAREA`, `SELECT`, `OPTION`, `BUTTON`];
if (ignoredTags.includes(e.target.tagName)) return; |
Looks like they have a feature for this -but its not working. vnphanquang/svelte-put#264 |
Yeah I've been finding some wonkyness with this hotkeys extension. Considering ripping out. |
Apologies for jumping in. Please check my comment here.
The shortcut action is not that much code so I'm sure you can do it better yourself. But i'd love to hear what problems you are having so I can improve the package 🙏. Thanks a lot guys. |
Open the the search and type
hi i am in it
- everyi
toggles the gobal shortcut.need to ignore this event when the event target is a typeable input
The text was updated successfully, but these errors were encountered: