Open mtoczko opened 4 years ago
Hey @mtoczko , did you find a solution for this?
Hi @pau-not-paul Unfortunately no.
Hey @mtoczko ,
It's not ideal, but enabling allowCombinationSubmatches has been a good workaround for my case.
Hi @pau-not-paul I stopped using this project. But thank you for the information.
Describe the bug After entering the text with Polish characters in the text field, the keyboard shortcut stops working.
ą
->alt + a
ś
,ć
,ę
,ń
,ź
,ż
,ó
,ł
Pressing the key '`'
Similar behavior is on Mac OS. But there he remembers one sign
How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc)
Expected behavior
Character history should be cleared correctly
Platform (please complete the following information):
Are you willing and able to create a PR request to fix this issue? NO Include the smallest log that includes your issue:
Set logging to verbose (you'll need the development build if its possible):
Show logs
``` GlobalKeyEventStrategy.js:326 HotKeys (GLOBAL-E107🧡): New '`' keydown event (that has NOT passed through React app). GlobalKeyEventStrategy.js:519 HotKeys (GLOBAL-E107🧡): Added '`' to current combination: '`'. GlobalKeyEventStrategy.js:522 HotKeys (GLOBAL-E107🧡): Key history: [ { "keys": { "`": [ [ 0, 0, 0 ], [ 1, 0, 0 ] ] }, "ids": [ "`" ], "keyAliases": {} } ]. GlobalKeyEventStrategy.js:573 HotKeys (GLOBAL-E107🧡): Attempting to find action matching '`' keydown . . . AbstractKeyEventStrategy.js:426 HotKeys (GLOBAL-E107🧡-C0🔺): Internal key mapping: { "": { "actionConfigs": { "`": { "prefix": "", "sequenceLength": 1, "id": "`", "keyDictionary": { "`": true }, "size": 1, "events": { "0": { "actionName": "TEST", "handler": "function TEST(event) {\n event.preventDefault();\n console.warn('hotkey: \\'`\\'');\n }" } } } }, "order": [ "`" ] } } AbstractKeyEventStrategy.js:439 HotKeys (GLOBAL-E107🧡-C0🔺): Found action that matches '`': TEST. Calling handler . . . backend.js:6 hotkey: '`' r @ backend.js:6 TEST @ Test.jsx:21 _callClosestMatchingHandler @ AbstractKeyEventStrategy.js:442 _callClosestMatchingHandler @ GlobalKeyEventStrategy.js:583 _callHandlerIfExists @ GlobalKeyEventStrategy.js:575 handleKeydown @ GlobalKeyEventStrategy.js:301 handleGlobalKeyDown @ KeyEventManager.js:452 document.What Configuration options are you using?