Opened 12 years ago

Closed 12 years ago

#11193 closed defect (fixed)

TooltipDialog losing focus after ESC close

Reported by: Douglas Hays Owned by: bill
Priority: high Milestone: 1.5
Component: Dijit Version: 1.5.0b2
Keywords: Cc:
Blocked By: Blocking:


Run test_TooltipDialog.html in IE6. Left-click the first button, press ESC to close the popup. The focus should be back on the 1st button but pressing space scrolls the page instead of reopening the popup indicating focus was on the body. This may be a timing problem even though I can reproduce it 100% of the time.

Change History (2)

comment:1 Changed 12 years ago by bill

Milestone: tbd1.5
Status: newassigned

comment:2 Changed 12 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [22236]) Fix IE focus problems in the robot tests Toolbar.html and TooltipDialog.html.

Show/hide of popups was implemented via dynamic addition/deletion of DOM nodes to the document. Those dynamic additions/deletions caused the current node to lose focus, or when the user tabs to a new field it gets focus momentarily but then focus jumps to <body>.

Best solution I could come up with was to pre-create the popup wrapper <div> and then not recycle wrapper <div> or <iframe> (although a possible optimization would be to recycle the iframe).

Fixes #10404, #11193, refs #11132, #10016, #10167 !strict.

Note: See TracTickets for help on using tickets.