Closed
Bug 103370
Opened 23 years ago
Closed 23 years ago
Out of order keypress event
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: clayton, Assigned: joki)
Details
Reported by Douglas Crockford
crock@veilnetworks.com
The keypress event is sent too late.
I attached a keypress handler to an <input> field.
d.addEventListener('keypress', keypress, false);
function keypress(e) {
alert('keypress');
}
I type a character. The character is displayed in the input field, and
THEN the alert is popped. At this point, the event has arrived too
late to allow for any filtering or special handling.
This is similar to the delayed change event error, in which submit
is fired before change.
Assignee | ||
Comment 1•23 years ago
|
||
*** This bug has been marked as a duplicate of 54035 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•23 years ago
|
QA Contact: madhur → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•