Skip to content

[0.83] Fix text clipping on Android 15+ due to useBoundsForWidth change #1197

@EmperorZzl

Description

@EmperorZzl

Target Branch

0.83

Link to commit or PR to be picked

facebook/react-native@8347cc4

Description

Summary:
Android 15 (API 35) changed TextView's default behavior to use visual glyph bounds for width calculation (useBoundsForWidth=true). This causes text clipping for italic fonts and other typefaces where glyphs extend beyond their advance width:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions