Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IOS] No/disappearing Conversion Line when Typing CJK (Chinese, Japanese, Korean) Characters into TextInput (0.76.5) #48497

Open
haruki-m opened this issue Jan 5, 2025 · 0 comments
Labels
Component: TextInput Related to the TextInput component. Issue: Author Provided Repro This issue can be reproduced in Snack or an attached project. Platform: iOS iOS applications.

Comments

@haruki-m
Copy link

haruki-m commented Jan 5, 2025

Description

When typing CJK characters into TextInput, the conversion line (the line under the group of pre-formatted characters) disappears after typing the first character or doesn't appear at all.

Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2025-01-05.at.22.41.05.mp4

Steps to reproduce

  1. npx create-expo-app@latest
  2. In the home screen, add
import { useState } from 'react';
import { TextInput } from 'react-native';
...
  const [text, setText] = useState('')
  ...
    <TextInput value={text} onChangeText={setText} style={{ height: 50, width: '100%' }} />
  1. Run the project with npm run ios
  2. Type Japanese, Chinese, or Korean

React Native Version

0.76.5

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
  OS: macOS 15.1.1
  CPU: (8) arm64 Apple M2
  Memory: 164.45 MB / 8.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.5.1
    path: ~/.nvm/versions/node/v22.5.1/bin/node
  Yarn:
    version: 1.22.19
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.8.2
    path: ~/.nvm/versions/node/v22.5.1/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.3 AI-223.8836.35.2231.10671973
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 20.0.2
    path: /Users/personal/.jenv/shims/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs

N/A

Reproducer

https://github.com/haruki-m/react-native-text-input-issue

Screenshots and Videos

No response

@react-native-bot react-native-bot added Component: TextInput Related to the TextInput component. Platform: iOS iOS applications. labels Jan 5, 2025
@haruki-m haruki-m changed the title [IOS] No/disappearing Conversion Line when Typing CJK (Chinese, Japanese, Korean) Characters into TextInput [IOS] No/disappearing Conversion Line when Typing CJK (Chinese, Japanese, Korean) Characters into TextInput (0.76.5) Jan 5, 2025
@cortinico cortinico added Issue: Author Provided Repro This issue can be reproduced in Snack or an attached project. and removed Needs: Triage 🔍 labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: TextInput Related to the TextInput component. Issue: Author Provided Repro This issue can be reproduced in Snack or an attached project. Platform: iOS iOS applications.
Projects
None yet
Development

No branches or pull requests

3 participants