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:


IE7 breaks with an error in BorderContainer?.js on line 347:

if(leftSplitter){ = 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){ = sidebarHeight; } if(rightSplitter){ = sidebarHeight; }


Attachments (1)

BCBug.html (3.3 KB) - added by Wulf 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Wulf

Attachment: BCBug.html added

comment:1 Changed 12 years ago by bill

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.