diff --git a/Libraries/Text/TextInput/Multiline/RCTUITextView.m b/Libraries/Text/TextInput/Multiline/RCTUITextView.m index 62ec0d5354a52d..7f404c64b37ad1 100644 --- a/Libraries/Text/TextInput/Multiline/RCTUITextView.m +++ b/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