Environment
[skip envinfo]
Description
When passing a string that terminates in a newline ${'\n'} to a Text component, the number of rendered lines will be one greater than the numberOfLines attribute applied when the string is not truncated due to length.
Reproducible Demo
Some View:
import {Text} from 'react-native'
...
render( ) {
return (
<Text numberOfLines={1}>
{`Line One ${'\n'}`}
</Text>
)
}