Hi,
I recently added shortcuts to my app. The main ones are like this:
- "/" to execute
textFilter.focus()
, where textFilter is a text input field - "p" to execute
price.focus()
, where price is a number input field
I've created various shortcuts to .focus() to various fields, or to select rows in a table. The problem, though, is that when I'm actively focused in a field, I can't execute any other keyboard shortcuts. Even ones that would use ctrl or command. So if I focus to a certain field I'm a bit stuck in that field and the surrounding fields. I would really like a way to .blur() without touching my mouse so I can go back to the default unfocused state of the app where any shortcut works again.
Any ideas?
Thanks,
Adhi