-
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
[Android] Bad fontFamily
and color
styles merging with 3 Text nesting levels
#31826
Labels
API: StyleSheet
Component: Text
Stale
There has been a lack of activity on this issue and it may be closed soon.
Comments
Thanks for the issue & the reproduction @jsamr. I've seen many issues with weird behaviors when it comes to fonts. Labeling the issue correctly for it to be tracked. |
5 tasks
6 tasks
6 tasks
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
github-actions
bot
added
the
Stale
There has been a lack of activity on this issue and it may be closed soon.
label
Feb 26, 2024
This issue was closed because it has been stalled for 7 days with no activity. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
API: StyleSheet
Component: Text
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
Under very specific conditions, nested text styles such as
color
andfontSize
are not applied correctly on Android. Below are screenshots of the same component rendered in Android (left) and iOS (right). Notice the following inconsistencies in Android:fontSize
;color
style.The code to reproduce those screens is provided in the "reproduction" section
React Native version:
Steps To Reproduce
Expected Results
The rendered components should look identical on iOS and Android (see screenshots above).
Snack, code example, screenshot, or link to a repository:
The bug requires a specific set of conditions to happen. The following tests have been performed on the referred snack:
fontFamily
monospace for all styles → could not reproduce bug.children=""
) → could not reproduce bug.LINK TO SNACK
NB: I want to stress that the reproduction might look a bit "heavy" in terms of rendered nodes, but try to cut some nodes off and the issue vanishes.
The text was updated successfully, but these errors were encountered: