-
Notifications
You must be signed in to change notification settings - Fork 27
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
Disable while text field is focused? #14
Comments
Not really right now, no, but I would love to see a contribution! How do you imagine this to work? I guess it's not worth it enabling it for everyone, plus this will break users of library... Maybe an opt-in process, call |
Would this work by attaching the default keyhandlers to a specific scope and enable/disable those with the input/textarea focus and blur events? |
Sure, it will, if a bit inconveniently. :) I remember someone (keymaster maybe?) disabling all hotkeys on inputs, but that was one of the reasons I wrote this library - I needed hotkeys working while editing textarea. |
Can we unregister listeners in nested scopes?
|
I love this idea! If you're up to implementing that, you're very welcome! If not, I guess I'll get to that sooner or later, but no real estimates right now, sorry. :) |
Is there an easy way to globally disable keymage while an INPUT or TEXTAREA is focused?
The text was updated successfully, but these errors were encountered: