If the measure function is defined: only return from execution of layoutNode, when the node has no children.
This commit is contained in:
@@ -315,7 +315,9 @@ var computeLayout = (function() {
|
||||
getPaddingAndBorderAxis(node, CSS_FLEX_DIRECTION_COLUMN);
|
||||
}
|
||||
}
|
||||
return;
|
||||
if (node.children.length === 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
var/*int*/ i;
|
||||
|
Reference in New Issue
Block a user