By default, the mouse disables shortcuts when the focus is in the input fields, drop-down list, etc. If your problem is related to only one field, include the mousetrap class in it. If you want to disable all scripts, try the following code
Mousetrap.stopCallback = function () { return false; }
This will overwrite the original behavior and resolve shortcuts in any field of the screen.
Gabriel Guarnieri Cardoso
source share