mousetrap icon indicating copy to clipboard operation
mousetrap copied to clipboard

Simple library for handling keyboard shortcuts in Javascript

Results 101 mousetrap issues
Sort by recently updated
recently updated
newest added

Added the composer.json to be able to install the library via the Composer package manager.

Shift+ doesn't work using numpad keys

Just letting you know about this inconsistency! If I bind keypress actions specified with an uppercase character, like `"H"`, it works. However, if I bind "keydown" actions, these bindings do...

In my project https://github.com/KoStard/Pharmony in view.js, in some conditions, when popup window is visible, mousetrap doesn't respond to esc keyup, but if I use document.addEventListener('keyup', ()=>{...}) I get the event....

I want to do things like this... ``` Mousetrap.bind('__alpha__', handleAllAlphaKeys); Mousetrap.bind('ctrl+ __num__', handleAllNumberKeys); // other classes ``` Let's say I want to save some content to the server as the...

I am using mousetrap in a react app and I have a generic component that assigns the handlers and removes them when the component is unmounted. I'm going to write...

Hello I tried binding on 'ctrl+]' but it failed while binding to 'ctrl+[' worked like a charm. I am using firefox 60.0.1 under linux if this might be of any...

check if the classname 'mousetrap' exists in the ancestor's node