Open trandoantan opened 12 months ago
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
It seems to be related to this change on Android 13
Hello,
Thanks for the issue. I have been contributing to facebook/react-native for 4 years and specialize in the Text/TextInput components. I currently have 58 facebook/react-native PRs:
https://github.com/facebook/react-native/pulls?q=is%3Apr+author%3Afabriziobertoglio1987+
It is the suggested approach from the react-native core team (see this discussion).
I'm publishing several fixes for Text and TextInput component in a separate library react-native-improved.
The advantages would be:
Do you want me to publish for you a patched release? I'm working on a list of priorities. Thanks
Hi! I'm not a react-native developer but I faced the same issue with native Android. One day of debug and research showed me that this problem is certainly related with the Improved line heights for non-latin scripts introduced in Android 13 and mentioned previously here by @trandoantan.
I just found a solution for native Android and maybe you might be able to apply it for ReactNative:
setting isFallbackLineSpacing = false
for TextView fixes this issue.
Hope it helps!
same issues!
same issues!
Description
In some specific languages (non-Latin), Align text vertically not centered (Android 13 only). Android 12 works fine.
React Native Version
0.72.5
Output of
npx react-native info
Steps to reproduce
App.js
Snack, screenshot, or link to a repository