TextInput: No events triggered and no text displayed when typing Korean on AndroidReact Native 0.73.8)
未关闭
还没有人认领这个 Issue。
Component: TextInput
Needs: Attention
Platform: Android
Type: Unsupported Version
- 主要语言
- C++
- 星标
- 127k
- 派生
- 25.3k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 4
描述
Description
I created a new React Native project using npx react-native init text.
After completing the setup, I ran the app on Android using yarn android without any additional configurations.
However, when using the TextInput component, typing Korean does not trigger any events (onChange, onChangeText, etc.) and no text is displayed in the input field.
Steps to reproduce
- Create a new React Native project: npx react-native init text.
- Run the app on an Android device using yarn android.
- Add a TextInput component with onChange or onChangeText event handlers.
- Type Korean characters into the TextInput.
React Native Version
0.73.8
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
OS: macOS 14.6
CPU: (12) arm64 Apple M3 Pro
Memory: 84.44 MB / 18.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.11.0
path: ~/.nvm/versions/node/v20.11.0/bin/node
Yarn:
version: 1.22.22
path: ~/.nvm/versions/node/v20.11.0/bin/yarn
npm:
version: 10.2.4
path: ~/.nvm/versions/node/v20.11.0/bin/npm
Watchman:
version: 2024.10.21.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/kimgyeongseok/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.0
- iOS 18.0
- macOS 15.0
- tvOS 18.0
- visionOS 2.0
- watchOS 11.0
Android SDK:
API Levels:
- "31"
- "33"
- "34"
- "34"
- "34"
- "34"
- "35"
Build Tools:
- 33.0.1
- 34.0.0
- 35.0.0
System Images:
- android-35 | Google APIs Intel x86_64 Atom
- android-35 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2024.2 AI-242.21829.142.2421.12409432
Xcode:
version: 16.0/16A242d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.12
path: /usr/bin/javac
Ruby:
version: 3.1.6
path: /Users/kimgyeongseok/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.3
wanted: 0.76.3
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
no error console
Reproducer
https://github.com/KimGSeok/react-native-text-input
Screenshots and Videos
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从链接的 react-native-text-input reproducer 和 Android 上的 TextInput 步骤开始,根据提供的环境详细信息核对所报告的 React Native 版本差异。当韩文输入显示在 TextInput 中,并且触发所报告的 onChange 或 onChangeText 处理程序且控制台没有错误时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, react-native
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100