[New Arch][Android] After turning on fabric, the text in the Xiaomi MIUI13 system is not fully displayed #48320
Labels
Newer Patch Available
Platform: Android
Android applications.
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
On Xiaomi MIUI13 system, when the font weight is changed and the fontWeight of the Text component is set to blod, the Text text will be truncated and wrapped;
If numberOfLines is set to 1, a different phenomenon will occur, causing the end of the text to become an ellipsis and incomplete display.
MIUI 14 seems to have problems as well, and other devices have not been tested.
This problem only occurs when a new architecture is enabled. There is no problem if newArchEnabled is set to false.
This is the system information:
Set the thickness to maximum:
Steps to reproduce
2、Set numberOfLines to 1, and an ellipsis appears at the end
React Native Version
0.74.1
Affected Platforms
Runtime - Android
Areas
Fabric - The New Renderer
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/peaktan/fontDemo
Screenshots and Videos
code:
result:
The text was updated successfully, but these errors were encountered: