#3428 closed defect (fixed)
regression: drop down vulnerable to space bar selection of menu items
Reported by: | davidb | Owned by: | davidb |
---|---|---|---|
Priority: | high | Milestone: | 0.9beta |
Component: | Dijit | Version: | 0.9 |
Keywords: | Cc: | bill | |
Blocked By: | Blocking: |
Description
To recreat: in dijit/tests/form/test_Button.html:
In FF2 on windows or linux:
- tab to the edit drop down button
- invoke via enter or space key
- select a menuitem (the default/first one) via space key
- note the menu re-pops up after closing.
Was fixed but a bit of the work for workaround:3281 done via patch on 3061 seems to have been lost. Will post small workaround patch.
Attachments (3)
Change History (9)
Changed 15 years ago by
comment:1 Changed 15 years ago by
Hi Bill, looks like you fixed this in the drop down button? I guess you essentially removed onclick handling which is certainly one approach. Shall we close this one?
comment:2 Changed 15 years ago by
On second though, might want to hold off on closing... This fix, coupled with a patch I just posted to ticket #3281 creates a similar problem. It seems both should either activate on the down, OR, the up.
In other words, things should only popup or close on a key down XOR a key up.
comment:3 Changed 15 years ago by
Status: | new → assigned |
---|
Changed 15 years ago by
Attachment: | 3428-menu-kb-interaction.2.diff added |
---|
wildbill's input made this fix better :)
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
proposed workaround.