diff --git a/doric-iOS/Pod/Classes/Shader/DoricLayouts.m b/doric-iOS/Pod/Classes/Shader/DoricLayouts.m index 2452e9ae..bf8f3dff 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricLayouts.m +++ b/doric-iOS/Pod/Classes/Shader/DoricLayouts.m @@ -1536,11 +1536,10 @@ - (void)layoutFlex { } layout.measuredX = YGNodeLayoutGetLeft(child.yoga.node); layout.measuredY = YGNodeLayoutGetTop(child.yoga.node); - CGSize size = child.yoga.intrinsicSize; [layout measureWidth:DoricMeasureSpecMake(DoricMeasureExactly, - size.width) + YGNodeLayoutGetWidth(child.yoga.node)) height:DoricMeasureSpecMake(DoricMeasureExactly, - size.height)]; + YGNodeLayoutGetHeight(child.yoga.node))]; [layout layout]; } }