Mouse left click will trigger keydown event when registered a keydown event to window or body
Reported by
maoyu960...@gmail.com,
Oct 20 2017
|
|||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.9 Safari/537.36
Steps to reproduce the problem:
1. wirte the code:window.addEventListener('keydown', function (e) {
console.log(e.keyCode)
});
2. Click mouse's left button in web page
3. check the devtools' console
What is the expected behavior?
nothing happened
What went wrong?
Clicking the mouse's left button will trigger a keydown event, in console, you'll find that 2 lines printed, the first one is 17,the other is 67. they are the CrtlRight key and C key's keycode
Did this work before? N/A
Does this work in other browsers? Yes
Chrome version: 63.0.3239.9 Channel: dev
OS Version: 10.0
Flash Version:
,
Oct 20 2017
I checked my installed programs and disabled all plugins in Chrome, that problem shows again. I tested it in Firefox and Edge, it works fine. And also in Opera,the chrome version is '61.0.3163.100 ', didn't see the problem. And my Chrome version is 'Version 63.0.3239.9 (Official Build) dev (64-bit)'. Are you running a Chrome that it's version is the same as mine ?.If it is, I could reinstall my Chrome to check it again.Sorry for my poor English :)
,
Oct 20 2017
Thank you for providing more feedback. Adding requester "kochi@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 20 2017
I am sorry about that It's my problem, I am running a Language translator in my computer, it's will translate the selected text.I find it only occurs in Chrome,but works fine in Firefox,Edge, and Opera.So I reported the problem.Sorry to bother you because of my mistakes
,
Oct 20 2017
Hi, thanks for your feedback! So... I think you found the cause of the problem (the language translator), and the problem is not a Chrome problem in general. If I'm understanding your comments wrong, please feel free to reopen this bug. |
|||
►
Sign in to add a comment |
|||
Comment 1 by kochi@chromium.org
, Oct 20 2017NextAction: 2017-11-03