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

クローズ
#1,458 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
react-native
領域
mobile

調査の方向性

The issue identifies a one-file backport of commit 0bd33261d1e519f319c3225247879273c5a2a709, already prepared as PR #59432. Read that commit and compare it with the 0.88-stable branch; the target is to omit the default clear text background while preserving the described text and event metadata. Confirm the backport applies cleanly and check the supplied iOS reproducer for the Japanese IME composition underline.

索引モデルが issue の本文から書いたものです。

説明

Target Branch

0.88

Link to commit or PR to be picked

https://github.com/react/react-native/commit/0bd33261d1e519f319c3225247879273c5a2a709

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: https://github.com/react/react-native/pull/59432

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

主要言語
JavaScript
スター
429
フォーク
11
平均マージ
4時間 13分
マージ済み PR(30日)
7

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

reactwg/react-native-releases のほかの issue

reactwg/react-native-releases の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。