Opened 9 years ago

Closed 9 years ago

#12017 closed defect (fixed)

BorderContainer: exception in IE6/7 when resizing

Reported by: ChiefPilot Owned by:
Priority: high Milestone: 1.6
Component: Dijit Version: 1.5
Keywords: BorderContainer resize splitter Cc: brad@…
Blocked By: Blocking:

Description

The _layoutChildren method in dijit.layout.BorderContainer? calculates splitter width such that it may be less than zero. When this happens, IE6/7 will throw an invalid argument exception when trying to set the width, which happens whenever this method is called in relation to a resize event. Seen on Windows XPSP2/SP3, IE6/7.

Attached patch file suggests one method of addressing this issue by ensuring the width/height is always greater than/equal to zero.

Attachments (1)

BorderContainer.js.diff (635 bytes) - added by ChiefPilot 9 years ago.
A possible solution to negative width/height values for splitters

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by ChiefPilot

Attachment: BorderContainer.js.diff added

A possible solution to negative width/height values for splitters

comment:1 Changed 9 years ago by bill

Summary: Exception in IE6/7 when resizing BorderContainerBorderContainer: exception in IE6/7 when resizing

Can you attach a test case? It sounds like you are sizing your BorderContainer while it's hidden, which isn't supposed to work.

comment:2 Changed 9 years ago by bill

Milestone: tbd1.6
Resolution: fixed
Status: newclosed

I just removed all that code in [23340], so this is presumably fixed, although I can't confirm since user didn't attach a test case.

Note: See TracTickets for help on using tickets.