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

RN Input组件不支持中文输入吗 #2615

Closed
pengxiang-git opened this issue Mar 28, 2019 · 9 comments
Closed

RN Input组件不支持中文输入吗 #2615

pengxiang-git opened this issue Mar 28, 2019 · 9 comments
Assignees

Comments

@pengxiang-git
Copy link

问题描述

RN端 在任意页面放入一个Input组件,在手机上输入。发现中文输入不了

复现步骤

Taro init myapp
在index.js中添加一个Input组件,在手机端不能输入中文

期望行为
能够正常输入中文

报错信息

系统信息
Taro v1.2.17

@taro-bot
Copy link

taro-bot bot commented Mar 28, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@pengxiang-git
Copy link
Author

@Pines-Cheng 这个之前没人遇到过吗

@charmtiger
Copy link

@pengxiang-git 你是在模拟器上面测试的,还是真机?

@taro-bot
Copy link

taro-bot bot commented Mar 28, 2019

CC @Pines-Cheng

@pengxiang-git
Copy link
Author

@charmtiger expo客户端 真机上

@pengxiang-git
Copy link
Author

导入ReactNative的TextInput组件可以输入中文的 @charmtiger @Pines-Cheng

@taro-bot
Copy link

taro-bot bot commented Apr 1, 2019

CC @Manjiz

@Pines-Cheng
Copy link
Contributor

@pengxiang-git expo 已经被干掉了哦,你可以尝试一下最新的版本。

@Manjiz
Copy link
Contributor

Manjiz commented Apr 3, 2019

这个问题,网上也反映较多,原因是设置了 value 属性,虽然在 0.57版本 facebook/react-native@892212b 解决了这个问题,但我们用的是固定版本 0.55.4,我会尝试网上的解决办法,可能会导致未知问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants