-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Image nested in Text only show half content part on Android. #29559
Comments
|
Created a Snack for this: https://snack.expo.io/@chrisglein/repro29559 |
Tried hosting inside a |
Yep, |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
I had the same issue, getting only half of my image. To solve my issue, I set a fontSize big enough to handle my image. My image was 100x100, so I gave a fontSize:150 and it display my image ok on Android. I did a condition to handle IOS and Android differently since IOS working fine without any fontsize. Hope it can help someone else ;) |
same |
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. |
This issue was closed because it has been stalled for 7 days with no activity. |
@jacoolee Do you still experience this issue? If yes, I will publish the fix in the react-native-improved package https://github.com/fabriziobertoglio1987/react-native-improved. Thanks a lot |
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
When an Image is nested in Text, only half part content would be showed on android.
React Native version:
Run
react-native info
in your terminal and copy the results here.Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
<Image/>
inside<Text/>
componentExpected Results
Image would show full content.
Snack, code example, screenshot, or link to a repository:
Extra
Everything is fine on iOS, this issue only occurs on Android.
The text was updated successfully, but these errors were encountered: