Closed liyuandie closed 5 years ago
以我的了解. iOS的模拟器是没有中文输入法的. 可以考虑从mac 复制然后粘贴进去.
@mactive 这似乎是RN自身的问题,打包过后到真机也并不能输入
rn版本升级到0.57.1以上即可。
onChange会调用setState, 导致拼音没打完,就 调用onChange了, setState,解决办法,输入的值存到this里,而不是state里
@afresh 我的rn版本是0.57.2
@afresh 我的rn版本是0.57.2 你代码里value和onChange的state都不一样。 rn确实已经修复ios不能输入中文的问题了。
问题是什么
ios模拟器开发,input框不能输入中文
环境
在线例子
其他
其他信息