Javascript event.repeat always set to false on Oracle Linux 7
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Tracking
()
People
(Reporter: kenny.a.a.thompson, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Steps to reproduce:
Add the following event listener to a page:
document.addEventListener("keydown", event => {
console.log(event.repeat);
});
hold down any key on the keyboard to generate repeat key events.
Actual results:
Observe that event.repeat is always false when a key is held down.
Expected results:
after the first event, event.repeat should be true.
Comment 1•5 years ago
|
||
Hi Kenny,
Could you please provide a testcase with that event listener?
Is this also reproducible on the latest Nightly? Here is where you can find it for download: https://www.mozilla.org/en-US/firefox/nightly/all/
Meanwhile, I am moving this over to a component, it might've been reported before.
Thanks!
Comment 2•5 years ago
|
||
I couldn't reproduce this on macos and win10 on nightly 71. I got "true" after a "false" for event.repeat.
Updated•2 years ago
|
Description
•