Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing line truncation issue when numberOfLines = {1} (#37667)
Summary: Pull Request resolved: #37667 Changelog: [Android][Fixed] - Fixing line truncation issue in Text containing /n when numberOfLines = {1} When the text has multiple lines (with new line characters \n to hard-break the lines), and the first line is short enough to fit, Text component with `numberOfLines = {1}` doesn't display "..." at the end and rather disrespects the /n character. With `numberOfLines = {1}`, On iOS it translates to `line 1`, on Android & Web it translates to `line 1 line 2...` **Expected Behavior :** `line 1...` Reviewed By: javache, NickGerleman Differential Revision: D46175963 fbshipit-source-id: 3377c38ab65e6801bddb1f262432f8d156a2641f
- Loading branch information