diff --git a/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphShadowNode.cpp b/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphShadowNode.cpp index 55b37890b87..8d4a9b07aec 100644 --- a/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphShadowNode.cpp +++ b/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphShadowNode.cpp @@ -243,6 +243,9 @@ void ParagraphShadowNode::layout(LayoutContext layoutContext) { dynamic_cast(*clonedShadowNode); auto attachmentFrame = measurement.attachments[i].frame; + attachmentFrame.origin.x += layoutMetrics.contentInsets.left; + attachmentFrame.origin.y += layoutMetrics.contentInsets.top; + auto attachmentSize = roundToPixel<&ceil>( attachmentFrame.size, layoutMetrics.pointScaleFactor); auto attachmentOrigin = roundToPixel<&round>(