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

Hi, We're currently having an issue in Chrome where using Mousetrap.bindGlobal(['ctrl+alt+space'] no longer works, when it did previously. We tested in Chrome 77-70 and it still did not work This...

This should resolve issues referenced in pull request #215 (https://github.com/ccampbell/mousetrap/pull/215). The above pull request can't be merged as of now. This will be useful to resolve bugs downstream.

I'm making an Electron application, and I need keyboard shortcuts for it, that's why I installed mousetrap into my project directory with npm (in node_modules), I also installed mousetrap's dependencies....

I installed Mousetrap through npm and used it in my react code as follows: `import * as Mousetrap from 'mousetrap';` . . . ` componentDidMount () { Mousetrap.bindGlobal('enter', this.submitSearch); `...

Need possibility to remove eventListeners from targetElement in reset method or in some one other. Cause performance problems. ![12](https://user-images.githubusercontent.com/23101743/62288978-3deb3780-b466-11e9-8da9-a2790ad5a358.jpg)

rawgit link in readme not works: rawgit is sunsetting

~~Different layouts problem~~ **The MAIN problem** with similar packages: ### let's decide what is `keyboard shortcuts`? `Google` > `keyboard shortcuts` > `first link` > : > In computing, a keyboard...

Following https://github.com/ccampbell/mousetrap/issues/427

`` when I set mousetrap class to textarea or input element to implement mousetrap effect, space (keyboard) is not working