Skip to content

[0.88] Skip clear text backgrounds to restore Japanese IME underlines #1458

Closed

Description

@riottt

Target Branch

0.88

Link to commit or PR to be picked

react/react-native@0bd3326

Description

Please consider picking the already-landed #59207 change into 0.88. The current 0.88-stable branch still emits the default clear text background; main omits it. The change is an exact, conflict-free, one-file backport.

Additional motivation beyond the upstream text-rendering optimization: a native iOS 27 experiment with React Native's actual backing views and delegate adapters shows that this clear background attribute hides the Japanese IME composition underline. Omitting it restores the underline while preserving the same foreground, font, default shadow and EventEmitter metadata. The multiline input fails both from empty and with existing attributed text; the single-line input fails with existing attributed text. All four cases display the underline when the background attribute is omitted.

This request concerns the composition indicator. It does not claim to fix all CJK input synchronization failures. No full React Native app or physical-device test was run for this backport; the native experiment and the upstream author's full RNTester validation are distinguished in the PR.

Prepared backport: react/react-native#59432

Reproducer and screenshots: https://github.com/riottt/react-native/tree/evidence/ios-japanese-ime-0.88

Activity

  1. cipolleschi commented on Oct 26, 2026

    @cipolleschi
    Collaborator

    Picked into 0.88-stable for 0.88.1 as bce6961a2b3.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions