diff --git a/packages/react-native/ReactCommon/yoga/yoga/algorithm/AbsoluteLayout.cpp b/packages/react-native/ReactCommon/yoga/yoga/algorithm/AbsoluteLayout.cpp index 8a041b5c3253d0..f4082cb55e6231 100644 --- a/packages/react-native/ReactCommon/yoga/yoga/algorithm/AbsoluteLayout.cpp +++ b/packages/react-native/ReactCommon/yoga/yoga/algorithm/AbsoluteLayout.cpp @@ -72,7 +72,8 @@ static void alignAbsoluteChild( case Align::Stretch: case Align::SpaceEvenly: child->setLayoutPosition( - parent->getFlexStartBorder(crossAxis, direction) + + parent->getLayout().border(flexStartEdge(crossAxis)) + + parent->getLayout().padding(flexStartEdge(crossAxis)) + child->getFlexStartMargin( crossAxis, direction, containingBlockWidth), flexStartEdge(crossAxis));