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

Cerrado
#1,458 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
react-native
Área
mobile

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
JavaScript
Estrellas
429
Forks
11
Merge medio
4 h 13 min
PR fusionados (30 d)
7

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de reactwg/react-native-releases

Todos los issues de reactwg/react-native-releases

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.