mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert D44130814: reduce cursor size for multiline(TextInput)
Differential Revision: D44130814 Original commit changeset: 09d53ecee681 Original Phabricator Diff: D44130814 fbshipit-source-id: 33c6fac5cb1f48a6e2461ff81564075eec466fb8
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ee76107d74
commit
8313f2382e
@@ -298,11 +298,7 @@ static UIColor *defaultPlaceholderColor()
|
||||
return CGRectZero;
|
||||
}
|
||||
|
||||
CGRect rect = [super caretRectForPosition:position];
|
||||
UIFont *font = self.font;
|
||||
rect.size.height = font.pointSize - font.descender;
|
||||
rect.origin.y -= font.descender;
|
||||
return rect;
|
||||
return [super caretRectForPosition:position];
|
||||
}
|
||||
|
||||
#pragma mark - Utility Methods
|
||||
|
||||
Reference in New Issue
Block a user