#12698 closed defect (fixed)
_HasDropDown: problems on key repeat opening drop downs
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Dijit | Version: | 1.6.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When using ENTER/SPACE key to open the drop down of a _HasDropDown based widget (ex: DropDownButton, ComboButton), there are problems if the user holds down the key long enough that it starts to repeat. It's because the popup is opened (and focus is shifted to the drop down) on keydown rather than keyup. Problems include:
- If the drop down is a Menu, or a TooltipDialog where first focus goes to a dijit.form.Button, the keyup event will "click" the menu's first option / dijit.form.Button, closing the menu / dialog (and doing some unwanted action)
- If the drop down is a TooltipDialog where the first field is an <input> / TextBox., it will insert spaces into that <input>/TextBox
Change History (2)
comment:1 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Note: See
TracTickets for help on using
tickets.
(In [24391]) Wait until onkeyup to focus popup widget, in order to avoid spurious onkeyup event to popup widget, or worse yet, if keys repeat, unwanted onkeydown events. Fixes #12698 on 1.6/.