Skip to content

Commit afa4e61

Browse files
author
fbchen
committed
solve the problem of stuck when some elements are not laid out
1 parent 7892d2a commit afa4e61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/constrait_layout/constraint_layout.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,7 @@ class _ConstraintRenderBox extends RenderBox
11491149
child.parentData as _ConstraintBoxData;
11501150

11511151
if (_nodeDependencies[child]!.isNotLaidOut()) {
1152+
child = childParentData.previousSibling;
11521153
continue;
11531154
}
11541155

0 commit comments

Comments
 (0)