You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for this great React library. Actually I am not sure whether it is a bug or a feature request.
We use the library in our project and have some issues related with system language.
When another language is active (not the language shortcuts described), shortcuts don't work.
I found similar issue here #184 but it is already closed.
Offered workaround is to create custom keycodes or define combinations for each used language.
The problem is that in our case the tool is international (not only Russian or English) and defining custom keycodes for each possible language is a huge overhead. Using of the property keycode instead of key would be much more preferable.
Another related issue that looks more like a bug is that when CAPSLOCK is activated, hotkeys also don't work.
I would ask you if there are plans to support the feature, or maybe it worked in previous release, or maybe you can provide good advice. I can say that early we used mousetrap and it worked fine here.
How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc)
HotKeys, GlobalHotKeys
Expected behavior
Hotkeys work when any system language is active
Platform (please complete the following information):
Version of react-hotkeys: 2.0.0
Browser [e.g. chrome, safari]: Chrome, Firefox
OS: [e.g. iOS]: Win, Ubuntu
Are you willing and able to create a PR request to fix this issue?
I suppose I do not have enough expertise for the feature
Include the smallest log that includes your issue:
Set logging to verbose (you'll need the development build if its possible):
import { configure } from 'react-hotkeys';
configure({
logLevel: 'verbose'
})
What Configuration options are you using?
configure({
//options
})
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi, thanks for this great React library. Actually I am not sure whether it is a bug or a feature request.
We use the library in our project and have some issues related with system language.
When another language is active (not the language shortcuts described), shortcuts don't work.
I found similar issue here #184 but it is already closed.
Offered workaround is to create custom keycodes or define combinations for each used language.
The problem is that in our case the tool is international (not only Russian or English) and defining custom keycodes for each possible language is a huge overhead. Using of the property
keycode
instead ofkey
would be much more preferable.Another related issue that looks more like a bug is that when CAPSLOCK is activated, hotkeys also don't work.
I would ask you if there are plans to support the feature, or maybe it worked in previous release, or maybe you can provide good advice. I can say that early we used mousetrap and it worked fine here.
How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc)
HotKeys, GlobalHotKeys
Expected behavior
Hotkeys work when any system language is active
Platform (please complete the following information):
Are you willing and able to create a PR request to fix this issue?
I suppose I do not have enough expertise for the feature
Include the smallest log that includes your issue:
Set logging to verbose (you'll need the development build if its possible):
What Configuration options are you using?
The text was updated successfully, but these errors were encountered: