Opened 10 years ago
Closed 10 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: | [email protected]… |
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)
Change History (3)
Changed 10 years ago by
Attachment: | BorderContainer.js.diff added |
---|
comment:1 Changed 10 years ago by
Summary: | Exception in IE6/7 when resizing BorderContainer → BorderContainer: 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 10 years ago by
Milestone: | tbd → 1.6 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
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.
A possible solution to negative width/height values for splitters