Opened 11 years ago
Closed 11 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: |
Description
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 11 years ago by
Milestone: | tbd → 1.5 |
---|---|
Status: | new → assigned |
comment:2 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(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.