diff --git a/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm b/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm index 4a237ee7f8227c..c8b24e7840bd56 100644 --- a/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +++ b/packages/react-native/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm @@ -113,6 +113,10 @@ - (instancetype)initWithFrame:(CGRect)frame _didMoveToWindow = NO; _originalTypingAttributes = [_backedTextInputView.typingAttributes copy]; +#if TARGET_OS_OSX // [macOS + [self setClipsToBounds:YES]; +#endif // macOS] + [self addSubview:_backedTextInputView]; #if TARGET_OS_IOS // [macOS] [visionOS] [self initializeReturnKeyType];