ant-design / ant-design-mobile-rn

Ant Design for React Native
https://rn.mobile.ant.design/
MIT License
3.02k stars 609 forks source link

在Modal中,使用TextInput时,无法输入中文 #1230

Closed lucaslz2020 closed 1 year ago

lucaslz2020 commented 2 years ago
1uokun commented 2 years ago

Same issue : https://github.com/facebook/react-native/issues/18403

lucaslz2020 commented 2 years ago

我用了rn提供的modal没有问题的,rn版本.067.4

jetengine commented 2 years ago

有解决办法吗

ljh257110 commented 2 years ago

我也遇到这个问题,当时使用antd的modal是因为toast无法在rn提供的modal上显示,会被遮盖住,但后续测出了无法输入中文的bug,没找到解决方案,只能和产品商量把toast换成alert了,虽然很丑。。

1uokun commented 1 year ago

我也遇到这个问题,当时使用antd的modal是因为toast无法在rn提供的modal上显示,会被遮盖住,但后续测出了无法输入中文的bug,没找到解决方案,只能和产品商量把toast换成alert了,虽然很丑。。

@ljh257110 这个库的modal不是用原生Modal实现的,所以Toast不会被覆盖。你用的是另一个远古库吧