We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 639d890 commit 12aef32Copy full SHA for 12aef32
packages/react-native/ReactCommon/react/renderer/components/text/ParagraphShadowNode.cpp
@@ -243,6 +243,9 @@ void ParagraphShadowNode::layout(LayoutContext layoutContext) {
243
dynamic_cast<LayoutableShadowNode&>(*clonedShadowNode);
244
245
auto attachmentFrame = measurement.attachments[i].frame;
246
+ attachmentFrame.origin.x += layoutMetrics.contentInsets.left;
247
+ attachmentFrame.origin.y += layoutMetrics.contentInsets.top;
248
+
249
auto attachmentSize = roundToPixel<&ceil>(
250
attachmentFrame.size, layoutMetrics.pointScaleFactor);
251
auto attachmentOrigin = roundToPixel<&round>(
0 commit comments