diff --git a/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm b/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm index 95ff5a0d180..927c3c29643 100644 --- a/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm +++ b/packages/react-native/ReactCommon/react/renderer/textlayoutmanager/platform/ios/react/renderer/textlayoutmanager/RCTAttributedTextUtils.mm @@ -205,7 +205,8 @@ NSMutableDictionary *RCTNSTextAttributesFromTextAttri attributes[NSForegroundColorAttributeName] = effectiveForegroundColor; } - if (textAttributes.backgroundColor || !isnan(textAttributes.opacity)) { + // A clear background draws nothing, but TextKit still computes and fills its rects on every draw. + if (textAttributes.backgroundColor && textAttributes.backgroundColor != clearColor()) { attributes[NSBackgroundColorAttributeName] = RCTEffectiveBackgroundColorFromTextAttributes(textAttributes); }