-
Notifications
You must be signed in to change notification settings - Fork 24k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.43.3 [TextInput] multiline={true} in Android can not create newLine when I enter Soft KeyBoard of return. #13506
Comments
Could you put a code snippet? |
I have the exact same problem. As for a code snippet, something as simple as the following exhibits the bug.
|
There is an issue opened already for this. #12717. Broke since 0.42. Still not resolved in 0.43.3. |
0.46 have you solved the problem? |
Has anyone solved the problem of not adding new lines? |
Summary: What existing problem does the pull request solve? this fixes facebook#13506 and facebook#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 facebook#13890 Reviewed By: achen1 Differential Revision: D5333464 Pulled By: shergin fbshipit-source-id: a0597d1b1967d4de1486e728e03160e1bb15afeb
@ZHT131 check out https://gist.github.com/catchin/47afe706256604959c13dc25e7bb9383 |
new line work on 0.41. |
I'm also facing the same issue, let me know if anyone found solution for this... |
install 0.51 React native will fixed all the problem. also use gradle 2.3.3 and above |
I added this line and it worked correctly: <TextInput
onChangeText={val => this.setState({ text: val})}
value={this.state.text}
multiline
style={{minHeight: 150, height: 'auto'}}
/> |
0.43.3 [TextInput] multiline={true} in Android can not create newLine when I enter Soft KeyBoard of return.
The text was updated successfully, but these errors were encountered: