We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee76107 commit 8313f23Copy full SHA for 8313f23
packages/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m
@@ -298,11 +298,7 @@ - (CGRect)caretRectForPosition:(UITextPosition *)position
298
return CGRectZero;
299
}
300
301
- CGRect rect = [super caretRectForPosition:position];
302
- UIFont *font = self.font;
303
- rect.size.height = font.pointSize - font.descender;
304
- rect.origin.y -= font.descender;
305
- return rect;
+ return [super caretRectForPosition:position];
306
307
308
#pragma mark - Utility Methods
0 commit comments