diff --git a/Libraries/Text/RCTTextInput.m b/Libraries/Text/RCTTextInput.m index 3833008fc..113b8b56b 100644 --- a/Libraries/Text/RCTTextInput.m +++ b/Libraries/Text/RCTTextInput.m @@ -316,7 +316,9 @@ RCT_NOT_IMPLEMENTED(- (instancetype)initWithFrame:(CGRect)frame) - (void)handleInputAccessoryDoneButton { - [self.backedTextInputView endEditing:YES]; + if ([self textInputShouldReturn]) { + [self.backedTextInputView endEditing:YES]; + } } @end