#7613 closed bug (fixed)
Incorrect UI keyCodes
Reported by: | be.davestein | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.core | Version: | 1.8.14 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Apparently in Firefox Mac, COMMAND keyCode is 224. Everywhere else is 91 as the constants currently show in ui.core.
Change History (6)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Opera and Firefox also don't differentiate between the left and right command keys.
comment:3 Changed 12 years ago by
instead of e.keyCode === $.ui.keyCode.COMMAND, maybe the breaking change of $.ui.keyCode.isCommand( e.keyCode ) would be better for future proofing?
comment:4 Changed 12 years ago by
well, we should probably just use the event properties and fix event.metaKey
comment:5 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Core: Removed modifier keys from key codes. Fixed #7613 - Incorrect UI keyCodes.
Changeset: 8dcb02d03598b75204227b5c187d8b6e8d33b03d
Note: See
TracTickets for help on using
tickets.
Opera reports the keyCode as 17, perhaps we should define these keys and just rely on the event properties.