-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Shortcuts ctrl+a/x/c/v
doesn't work in Chrome 43
#149
Comments
Hi DMShamonov, thanks for bringing this to my attention - it's a new one to me. I'm hoping you can help me diagnose the issue: Are the handlers called if you remove the command keymaps (so you don't use the array syntax)? Are the handlers called if you use shift instead of ctrl in the keymaps? |
doesn't fire
doesn't fire |
Thanks for the further information. Do the corresponding command keymaps work? |
On But if I use |
By the way, in |
Thank you for the extra information, @DMShamonov. Are you able to use React's |
Direct
|
I just updated from UPDATE. it fires if i press shift ( |
Very strange, @travisdahl. Are you able to post a separate issue complete with logging? |
I'm afraid after a couple of hours of trying, I cannot get Chrome 43 to install on my machine. Without it, With the obscureness of the issue (Chrome 43 was released over 3 years ago and I have not had many users experiencing this issue) and the difficulty of continuing to attempt to fix it, I'm afraid this is going to have to be a "Won't fix" unless someone else is able to have a go at a solution. The file used by React (and re-used by I'm closing this issue for now, but if it remains high priority for you, @DMShamonov, and you're able to log out the raw key events, so I can compare them to how keyboard events are normalized then I may pick this up again. Thank you for all your help trying to resolve this issue. |
I use I try to log out the raw key events ( |
Hey @DMShamonov, Could you try logging them out directly (not through Something like the following: <input
onKeyDown={(event) => console.log(JSON.stringify(event, null, 4)) }
onKeyPress={(event) => console.log(JSON.stringify(event, null, 4)) }
onKeyUp={(event) => console.log(JSON.stringify(event, null, 4)) }
/> And then click on the input and press ctrl and c. |
This is in console after press
|
That's fantastic. Thanks for getting that, @DMShamonov. I'm in the middle of a refactor of the package at the moment, but when I am done, I'll loop back around to this. Re-opening to indicate this is still ongoing. |
Describe the bug
In Chrome 43 shortcuts
ctrl+a/x/c/v
doesn't work.How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc)
I use
HotKeys
Expected behavior
I expect that handlers for
ctr+
shortcuts will firePlatform (please complete the following information):
2.0.0-pre4
chrome 43.0.2357.65 m
windows 10 enterprise evaluation 1803
Are you willing and able to create a PR request to fix this issue?
Might
Include the smallest log that includes your issue:
What Configuration options are you using?
None
The text was updated successfully, but these errors were encountered: