Open
Bug 1011860
Opened 11 years ago
Updated 3 years ago
select: cancelling onkeydown doesn't cancel arrow button clicks
Categories
(Core :: DOM: Events, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: gregor, Unassigned)
Details
Attachments
(1 file)
|
693 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140506152807
Steps to reproduce:
I want to prevent select box changes when arrow buttons are clicked by cancelling keydown events. My usecase is that I allow the user to jump between form fields, see http://gr2m.github.io/bootstrap-navigable-table/
Actual results:
See attached demo. Clicking "1" or "3" doesn't change the select's value as expected, but clicking arrow keys on the keyboard does. It shouldn't though.
Expected results:
event.preventDefault() on keydown should prevent select value to be changed when pressing arrow keys
Updated•11 years ago
|
Component: Untriaged → DOM: Events
Product: Firefox → Core
Comment 1•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•