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 ebc8370 commit d68e94bCopy full SHA for d68e94b
Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.m
@@ -175,6 +175,9 @@ - (BOOL)control:(NSControl *)control textView:(NSTextView *)fieldEditor doComman
175
// enter/return
176
if (commandSelector == @selector(insertNewline:) || commandSelector == @selector(insertNewlineIgnoringFieldEditor:)) {
177
[self textFieldDidEndEditingOnExit];
178
+ if ([[_backedTextInputView textInputDelegate] textInputShouldReturn]) {
179
+ [[_backedTextInputView window] makeFirstResponder:nil];
180
+ }
181
commandHandled = YES;
182
//backspace
183
} else if (commandSelector == @selector(deleteBackward:)) {
0 commit comments