Skip to content
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

View inside Text does not align properly #37818

Closed
SupertigerDev opened this issue Jun 11, 2023 · 2 comments
Closed

View inside Text does not align properly #37818

SupertigerDev opened this issue Jun 11, 2023 · 2 comments

Comments

@SupertigerDev
Copy link

SupertigerDev commented Jun 11, 2023

Description

I'm trying to align the text and views inside a text component, it does not seem to work.

In the expo link, you can see how it aligns properly in the Web version, but not properly for Android and IOS. Any ideas?

React Native Version

0.71.10

Output of npx react-native info

System:
OS: Windows 10 10.0.19045
CPU: (4) x64 AMD Ryzen 3 2300U with Radeon Vega Mobile Gfx
Memory: 2.31 GB / 6.92 GB
Binaries:
Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 33
Build Tools: 30.0.3, 33.0.0, 33.0.2
System Images: android-33 | Google APIs Intel x86_64 Atom
Android NDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-222.4459.24.2221.10121639
Visual Studio: Not Found
Languages:
Java: 11.0.15
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.10 => 0.71.10
react-native-windows: 0.71.15 => 0.71.15
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

see link

Snack, code example, screenshot, or link to a repository

https://snack.expo.dev/@supertiger/thoughtful-candy

Working fine in WEB
image

Not correctly centered in Android/IOS
image

@SupertigerDev
Copy link
Author

This issue is similar, but not really: #31955

@SupertigerDev
Copy link
Author

nevermind, i think its the same issue :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant