You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reference: Section I in the docs
Expected: Shortcut clicks button
Actual: Nothing happens
There's a submit button elsewhere. I can post the code but the shortcut works fine when the user is outside of the text area, or if I use stopCallback as below.
I would prefer not to disable the default (shortcut doesn't work when field in focus) globally. It seems that there's a bug in the way the mousetrap class works
The text was updated successfully, but these errors were encountered:
Intended behavior: enable shortcut while user is in text area (in focus)
Attempted solution:
Reference: Section I in the docs
Expected: Shortcut clicks button
Actual: Nothing happens
There's a submit button elsewhere. I can post the code but the shortcut works fine when the user is outside of the text area, or if I use stopCallback as below.
Shortcut:
I was able to enable the shortcut functionality while the user is in the text area using this:
Reference: https://stackoverflow.com/questions/21013866/mousetrap-bind-is-not-working-when-field-is-in-focus
I would prefer not to disable the default (shortcut doesn't work when field in focus) globally. It seems that there's a bug in the way the mousetrap class works
The text was updated successfully, but these errors were encountered: