diff --git a/packages/react-native/ReactCommon/react/renderer/components/textinput/platform/ios/react/renderer/components/iostextinput/TextInputShadowNode.cpp b/packages/react-native/ReactCommon/react/renderer/components/textinput/platform/ios/react/renderer/components/iostextinput/TextInputShadowNode.cpp index b0a58614ac8725..770dd82df5e2f6 100644 --- a/packages/react-native/ReactCommon/react/renderer/components/textinput/platform/ios/react/renderer/components/iostextinput/TextInputShadowNode.cpp +++ b/packages/react-native/ReactCommon/react/renderer/components/textinput/platform/ios/react/renderer/components/iostextinput/TextInputShadowNode.cpp @@ -83,7 +83,7 @@ AttributedString TextInputShadowNode::getAttributedString( .string = getConcreteProps().text, .textAttributes = textAttributes, // TODO: Is this really meant to be by value? - .parentShadowView = ShadowView{}}); + .parentShadowView = ShadowView(*this)}); auto attachments = Attachments{}; BaseTextShadowNode::buildAttributedString(