hotkeys-js icon indicating copy to clipboard operation
hotkeys-js copied to clipboard

➷ A robust Javascript library for capturing keyboard input. It has no dependencies.

Results 152 hotkeys-js issues
Sort by recently updated
recently updated
newest added

``` hotkeys('ctrl-+, command-+', {splitKey: "-" }, (e) => { e.preventDefault(); //do something... }); ``` Never gets called (the browser zooms in). Windows 10, Chrome 88.0.4324.182 - hotkeys-js 3.8.2

Steps to reproduce: 1. use hotkey manager to set up hot keys for "ctrl+=" and "ctrl+-" 2. in the application, hold "ctrl" and rapidly alternate between "=" and "-" Observe:...

I'm using React Portals to show some of my DOM in an external window. Hotkeys event listeners will not be applied to the external window. Example: https://codesandbox.io/s/popout-hotkeys-forked-pprbv?file=/pages/index.js

复现demo: https://codesandbox.io/s/compassionate-pike-4yzbl?file=/src/App.js

Hello Team, We are currently using this library in our application for keyboard shortcuts, however, we currently have an issue since we use internalization in our app and some of...

Add printscreen as a special key mapping for 44

Thanks for this great library, @jaywcjlove !!! I noticed that this library does not have any hotkey for print screen key. What is your opinion on detecting the print screen...

Hello, it looks like we can attach to a specific element using the element option, how should we unbind in that case?