name: ๐ Bug Report
about: Report a reproducible bug or regression in the core React Native library.
- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
[skip envinfo]
This is reproducible in the expo playground
Description
Property numberOfLines is not respected when used in a child Text component:
<Text> <Text numberOfLines={1}>{'sometext'.repeat(1000)}</Text> </Tex>
In this #4733 (comment) @oureta mentions that this does not work, I don't understand if it is expected behavior, or a ๐
According to Text doc the styling has some limitations with inheritance/nesting, although nothing is specified (AFAICT) about the other properties.