Opened 13 years ago
Closed 13 years ago
#7661 closed defect (fixed)
[patch] [cla] BorderContainer: creates infinite loop in _layoutChildren
Reported by: | Shane O'Sullivan | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dijit | Version: | 1.2beta |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The dijit.layout.BorderContainer? widget has handling to check if it's splitters are more than 50 pixels wide/high. If the are, the _layoutChildren function calls itself again after a delay.
However, this will always go into an infinite loop, as the values it is calculating, the 'leftSplitterThickness' and 'rightSplitterThickness' are not recalculated. The widget will then not layout correctly.
I am attaching a one line change to fix this issue.
Attachments (1)
Change History (4)
Changed 13 years ago by
Attachment: | BorderContainer_inifiniteLoopInLayout.patch added |
---|
comment:1 Changed 13 years ago by
Summary: | BorderContainer creates infinite loop in _layoutChildren → [patch] [cla] BorderContainer: creates infinite loop in _layoutChildren |
---|
comment:2 Changed 13 years ago by
Milestone: | → 1.2 |
---|---|
Owner: | set to Adam Peller |
Status: | new → assigned |
Shane, I'm not sure I understand why there would be an infinite loop or how this code would help. Can you demonstrate the bug?
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
patch to fix this issue