Text component adds a linebreak when string content is equal to width of component #24977
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
馃悰 Bug Report
On iOS (and possibly Android), when the length of the text string is the width of the Text component, it adds a linebreak. This is a duplicate of #24674 which was closed due to missing env info.
This is a copy of this closed issue.
To Reproduce
Expected Behavior
Don't create an empty new line.
Code Example
https://snack.expo.io/@jenskuhr/text-early-line-wrap
Environment
Expo v. 32.0.0
[skip envinfo]
Newest version of Expo is used. I don't know how a smart way to get the react-native version of Expo, but sniffing around their repo lead to the following:
react-native: 0.59.5
react: 16.8.3
The text was updated successfully, but these errors were encountered: