Opened 10 years ago

Closed 10 years ago

#8445 closed defect (fixed)

dijit.Popup doesn't work a second time if child node has position: relative set in IE7

Reported by: Bryan Forbes Owned by:
Priority: high Milestone: 1.3
Component: Dijit Version: 1.2.3
Keywords: Cc:
Blocked By: Blocking:

Description

In the ComboBox? test if you set the style of ul to position: relative, the second time you try to open up the ComboBox? menu it won't show up in IE7. There are two ways to fix this. We can put an IE specific style like this:

.dj_ie .dijitPopup ul {
    position: static;
}

or we can change the code of dijit.popup.open() to set the top coordinates of the child node to "0px". I'm attaching a test case and a patch for the second option of how to fix it as it will work no matter what type of node the child node is.

Attachments (2)

popup_fix.diff (320 bytes) - added by Bryan Forbes 10 years ago.
_autoComplete.html (16.0 KB) - added by Bryan Forbes 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Bryan Forbes

Attachment: popup_fix.diff added

Changed 10 years ago by Bryan Forbes

Attachment: _autoComplete.html added

comment:1 Changed 10 years ago by bill

Resolution: fixed
Status: newclosed

(In [16480]) Fixes #8445: dijit.Popup doesn't work a second time if child node has position: relative set in IE7 Thanks to Bryan for patch. !strict.

Note: See TracTickets for help on using tickets.