mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
TextInput: Fixed textWasPaste
prop for singleline TextInput
Summary: This regression was recently introduced when RCTTextField was splitted into two classes. Reviewed By: mmmulani Differential Revision: D5313055 fbshipit-source-id: 1027ddeed7ea9a4bf6f30b0182092f42588b83e3
This commit is contained in:
parent
d4cda7168f
commit
44310da324
@ -94,6 +94,14 @@
|
||||
return [self textRectForBounds:bounds];
|
||||
}
|
||||
|
||||
#pragma mark - Overrides
|
||||
|
||||
- (void)paste:(id)sender
|
||||
{
|
||||
[super paste:sender];
|
||||
_textWasPasted = YES;
|
||||
}
|
||||
|
||||
#pragma mark - Layout
|
||||
|
||||
- (CGSize)intrinsicContentSize
|
||||
|
Loading…
x
Reference in New Issue
Block a user