mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
Fixed: blurOnSubmit
should be true
by default for singleline <TextInput>
Differential Revision: D5224356 fbshipit-source-id: e8a9f607270ab93e40cca3b701bdcb31524137fe
This commit is contained in:
parent
01afc16bfc
commit
b6cf4eeed6
@ -42,6 +42,9 @@
|
||||
_bridge = bridge;
|
||||
_eventDispatcher = bridge.eventDispatcher;
|
||||
|
||||
// `blurOnSubmit` defaults to `true` for <TextInput multiline={false}> by design.
|
||||
_blurOnSubmit = YES;
|
||||
|
||||
_textField = [[RCTUITextField alloc] initWithFrame:self.bounds];
|
||||
_textField.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user