Opened 12 years ago

Closed 12 years ago

#3797 closed defect (fixed)

using keyboard to select drop down menu item causes focus problems

Reported by: Becky Gibson Owned by: simonjb
Priority: high Milestone: 0.9
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Navigate to a drop down menu button. Press enter to open the menu. Use keyboard to arrow to a menu item and press enter. The menu is momentarily closed but then menu is reopened with focus on first menu item.

Attachments (1)

Menu.diff (789 bytes) - added by simonjb 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by Becky Gibson

Bill, you can assign to me or Simon - I just wanted to make sure you saw this in case you had any ideas - I suspect it might be related to the popup callback changes.

comment:2 Changed 12 years ago by bill

Owner: changed from bill to simonjb

I traced it a little bit. On popup close we set focus back to the button, which apparently is causing a click event on the button, thus opening the popup again. I think the the ENTER key to execute the menu item is getting processed on keydown when it should get processed on keyup, so the keyup is applied to the button, thus causing a spurious click event.

comment:3 Changed 12 years ago by simonjb

Status: newassigned

Changed 12 years ago by simonjb

Attachment: Menu.diff added

comment:4 Changed 12 years ago by simonjb

Resolution: fixed
Status: assignedclosed

(In [9905]) Fixes #3797: using keyboard to select drop down menu item causes focus problems.

Note: See TracTickets for help on using tickets.