-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
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.
Reproducible Demo
noahtallen and lorenzomilesi
Metadata
Metadata
Assignees
Labels
Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.