Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed new line and prioritise blurOnSubmit in multiline text input
Summary: What existing problem does the pull request solve? this fixes #13506 and #12717 where: - there are some issues when pressing enter with some keyboard - blurOnSubmit is not working with multiline I think this should be in stable branch as this is pretty critical, isn't it? - just create a TextInput with multiline and press enter with samsung keyboard before, it won't create a new line, now it will. - just create a TextInput with multiline and blurOnSubmit true and press enter before, it won't blur, and wont create a new line (on some keyboard, it will create a new line), now it will blur only Closes #13890 Reviewed By: achen1 Differential Revision: D5333464 Pulled By: shergin fbshipit-source-id: a0597d1b1967d4de1486e728e03160e1bb15afeb
- Loading branch information
e694199
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I change the above code, I cannot create newlines
e694199
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ZHT131 Sorry, what did you change? Can you provide snack (https://snack.expo.io/) demonstrating your problem?