diff --git a/packages/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m b/packages/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m index 5d5d3085879ba2..19d49c76760e70 100644 --- a/packages/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m +++ b/packages/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m @@ -298,7 +298,12 @@ - (CGRect)caretRectForPosition:(UITextPosition *)position return CGRectZero; } - return [super caretRectForPosition:position]; + CGRect rect = [super caretRectForPosition:position]; + UIFont *font = self.font; + float prevHeight = rect.size.height; + rect.size.height = font.pointSize - font.descender; + rect.origin.y += (prevHeight - rect.size.height); + return rect; } #pragma mark - Utility Methods