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

[Bug] Keypress 'alt+a' is not working

Open harish-aka-shivi opened this issue 3 years ago • 2 comments

Issue

I am working with react-hotkeys-hook and found a bug that alt+a is not working. I then tried on the hotkeys-js website and I can confirm that it's not working here also.

Behaviour:

On pressing alt+a, it only captures alt press and A press is lost.

Environment

Machine: MacOS (10.15.2 ) Browser: Google Chrome (92.0.4515.159)

harish-aka-shivi avatar Aug 26 '21 06:08 harish-aka-shivi

@harish-aka-shivi have the same problem

gingray avatar Oct 07 '21 17:10 gingray

@gingray, turns out, the browser doesn't emit the keypress code of alt+A. So it's not an issue for this library.

harish-aka-shivi avatar Oct 08 '21 08:10 harish-aka-shivi