Seems onSubmitEditing doesn't like multiline. The text from the text input wouldn't clear for me when I pressed enter.
So instead, I'm handling the submission in handleInput like I would for pressing space. I don't know if it's exactly a fix you would use but maybe a good starting point for anyone having the same problem. Thanks!
Seems onSubmitEditing doesn't like multiline. The text from the text input wouldn't clear for me when I pressed enter.
So instead, I'm handling the submission in handleInput like I would for pressing space. I don't know if it's exactly a fix you would use but maybe a good starting point for anyone having the same problem. Thanks!