I have a TextInput which I have enabled multiline as true. Thing is the Keyboard won\'t hide after Return is pressed. It goes to a new line. So I was h
In case you are using with multiline={true}, the return key would also add the newline in the text before calling onSubmitEditing. Also, the keyboard won't get dismissed automatically making you import { Keyboard } from 'react-native' and calling Keyboard.dismiss() in onSubmitEditing.
An easier solution would be to use the blurOnSubmit={true} to automatically dismiss the keyboard and prevent return key from registering as newline.