File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/core/ui/layouts/flexbox-layout Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -323,11 +323,11 @@ export class FlexboxLayout extends FlexboxLayoutBase {
323323 if ( this . flexWrap !== FlexWrap . WRAP_REVERSE ) {
324324 let marginTop = flexLine . _maxBaseline - FlexboxLayout . getBaseline ( child ) ;
325325 marginTop = Math . max ( marginTop , lp . effectiveMarginTop ) ;
326- largestHeightInLine = Math . max ( largestHeightInLine , child . getActualSize ( ) . height + marginTop + lp . effectiveMarginBottom ) ;
326+ largestHeightInLine = Math . max ( largestHeightInLine , child . getMeasuredHeight ( ) + marginTop + lp . effectiveMarginBottom ) ;
327327 } else {
328328 let marginBottom = flexLine . _maxBaseline - child . getMeasuredHeight ( ) + FlexboxLayout . getBaseline ( child ) ;
329329 marginBottom = Math . max ( marginBottom , lp . effectiveMarginBottom ) ;
330- largestHeightInLine = Math . max ( largestHeightInLine , child . getActualSize ( ) . height + lp . effectiveMarginTop + marginBottom ) ;
330+ largestHeightInLine = Math . max ( largestHeightInLine , child . getMeasuredHeight ( ) + lp . effectiveMarginTop + marginBottom ) ;
331331 }
332332 }
333333 flexLine . _crossSize = largestHeightInLine ;
You can’t perform that action at this time.
0 commit comments