-
Notifications
You must be signed in to change notification settings - Fork 178
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
Keybinding: ignore from input #294
Comments
Yeah the hot keys should be able to get triggered anywhere on the page. If you have forms with inputs you can capture the keydown event and event.stopPropagation() there. Not sure if there is a better way to handle it than that since we want the hotkeys to trigger anywhere on the page unless there is an input of some sort focused. |
I think the more-correct solution is to check the |
Actually, that's what I ended up doing. But for some reason, not sure if it's something I'm doing, but for me |
I noticed there was a recent (Julyish '16) merge of some new keybindings:
https://github.com/the-grid/the-graph/blob/master/the-graph/the-graph-app.js#L398
Won't these get triggered anytime there is input in any ? Would the right way to handle this be to catch that input on and preventDefault there?
The text was updated successfully, but these errors were encountered: