Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed line not breaking when multiline set to true and keyboard typ…
…e set to numeric (or other numeric type) (#21884) Summary: Native Android sets the EditText widget to multiline only if the InputType flags are set to Text (or its variants like textEmailAddress) and Multiline, which causes the React Native TextInput to not break the line when set to multiline={true} and keyboardType={'numeric'} as it only have the flags Multiline and Number set. This fix forces the widget to enable multiline, by calling setSingleLine(false) everytime a state change needs to be commited and the multiline prop is set to true. Pull Request resolved: #21884 Differential Revision: D14162701 Pulled By: cpojer fbshipit-source-id: b7d3fc8c5a4444dcfd29ad74d515a8ae486c7ede
- Loading branch information
28f1648
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.
When will this be released in a new version?