Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] Simple keybindings don't work with capslock on #225

Open
inssein opened this issue Aug 27, 2019 · 3 comments
Open

[BUG] Simple keybindings don't work with capslock on #225

inssein opened this issue Aug 27, 2019 · 3 comments

Comments

@inssein
Copy link

inssein commented Aug 27, 2019

Describe the bug
I upgraded to the latest version and got complaints from some users that hotkeys no longer work. However, it seems like those users just had capslock on.

How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc)
GlobalHotKeys

Expected behavior
A handler for e should work regardless of capslock (like the previous version).

Platform (please complete the following information):

  • react-hotkeys -> latest
  • chrome
  • Mac

Are you willing and able to create a PR request to fix this issue?
Yes, can look into it.

@neverdane
Copy link

Same problem here, even if I listen to uppercase keys.

@neverdane
Copy link

neverdane commented Sep 25, 2019

I noticed a strange behavior, if my capslock is already active when I focus on the tab, my shortcuts work but if turn my capslock on when I'm on the page, they don't work anymore.

@greena13
Copy link
Owner

Hmm, Capslock has always been a bit tricky, @inssein.

This will need looking into.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants