-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text numberOfLines prop is not respected in Nested Text #22811
Comments
Can you run If you believe this information is irrelevant to the reported issue, you may write |
This will be difficult to implement on Android, as the nested text is represented by a single This should probably be added to the known issues section of the Text component doc. @mloureiro do you feel up to making a PR for that on https://github.com/facebook/react-native-website using the template from here? |
|
This feature is difficult to implement at the native level. Original issue: facebook/react-native#22811 Signed-off-by: Marcos Loureiro <[email protected]>
I am closing this issue because it does not contain the necessary environment info, and there has been no followup in a while. If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here. |
name: 🐛 Bug Report
about: Report a reproducible bug or regression in the core React Native library.
Environment
[skip envinfo]
This is reproducible in the expo playground
Description
Property
numberOfLines
is not respected when used in a child Text component: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
https://snack.expo.io/H1IZHzGbN
The text was updated successfully, but these errors were encountered: