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 8c9c8ba commit ebc97a6Copy full SHA for ebc97a6
packages/react-native/Libraries/Text/TextInput/Multiline/RCTUITextView.m
@@ -298,12 +298,7 @@ - (CGRect)caretRectForPosition:(UITextPosition *)position
298
return CGRectZero;
299
}
300
301
- CGRect rect = [super caretRectForPosition:position];
302
- UIFont *font = self.font;
303
- float prevHeight = rect.size.height;
304
- rect.size.height = font.pointSize - font.descender;
305
- rect.origin.y += (prevHeight - rect.size.height);
306
- return rect;
+ return [super caretRectForPosition:position];
307
308
309
#pragma mark - Utility Methods
0 commit comments