Opened 12 years ago
Closed 12 years ago
#9941 closed defect (invalid)
BorderContainer: another resize problem on BorderContainer (IE7)
Reported by: | Wulf | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit | Version: | 1.3.2 |
Keywords: | BorderContainer | Cc: | |
Blocked By: | Blocking: |
Description
IE7 breaks with an error in BorderContainer?.js on line 347:
if(leftSplitter){ leftSplitter.style.height = sidebarHeight;
when sidebarHeight is negative. That happens in the attached HTML-Testpage, when _layoutChildren() is called for the first time.
An if-statement around the two lines where sidebarHeight is set works fine for me.
if (sidebarHeight > 0) {
if(leftSplitter){ leftSplitter.style.height = sidebarHeight; } if(rightSplitter){ rightSplitter.style.height = sidebarHeight; }
}
Attachments (1)
Change History (2)
Changed 12 years ago by
Attachment: | BCBug.html added |
---|
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
You need to specify an initial height and width for your TabContainer (the outermost layout widget).
Also, all of your custom resize code is unnecessary. Just have
html, body, #myTabContainer { width: 100%; height: 100% }
as a CSS rule.