diff --git a/packages/react-native/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.mm b/packages/react-native/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.mm index 7bc2c53c52c857..9be90e85d16870 100644 --- a/packages/react-native/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.mm +++ b/packages/react-native/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.mm @@ -134,7 +134,9 @@ - (BOOL)shouldShowVerticalScrollbar CGSize textViewSize = [_backedTextInputView intrinsicContentSize]; NSClipView *clipView = (NSClipView *)_scrollView.contentView; if (textViewSize.height > clipView.bounds.size.height) { - return YES; + // Sometimes dimensions returned are in floating point numbers. + // If the floats are close enough, then don't show the scrollbar even if there is a fraction of overflow with the text. + return fabs(textViewSize.height - clipView.bounds.size.height) >= 1; }; return NO;