Open arlovip opened 1 day ago
不能使用ReactNative的Modal,你要用Ant Design的Modal,因为原生的Modal层级比较高覆盖不了
@LeeYuze 那为啥之前的RN
版本就可以呢?之前一直这么用啊,现在升级了RN
,就不显示了,有点难受
有其他办法吗?因为我全局用的基本都是react-native-modal
或者RN
自带的Modal
,如果替换成Ant Design
的Modal
,因为属性配置和动画效果差异,替换成本比较大,这样比较麻烦
💬 前提强调
🙋 描述详情/重现步骤
依赖版本:
"@ant-design/react-native": "^5.2.3"
。 不使用Modal
,Toast
正常显示,使用Modal
,无法显示。代码很简单:
🔴 版本
10.7.0
💻 运行环境
Android
⚫️
npx react-native info
输出信息补充说明
No response