Meituan-Dianping / beeshell

React Native 组件库
MIT License
1.8k stars 280 forks source link

Modal无法显示 #18

Closed Keizai closed 5 years ago

Keizai commented 5 years ago

跳转到另一个界面后再返回有modal的界面,modal.open()无法显示 modal

环境

在线例子

如果有请提供在线例子或代码片段

其他

其他信息

使用的导航:react-native-navigation

Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method. in Topview in RCTView (at View.js:44) in Unknown (at renderApplication.js:34) in RCTView (at View.js:44) in RCTView (at View.js:44) in AppContainer (at renderApplication.js:33)

wxlworkhard commented 5 years ago

是不是因为 Modal 组件还没有 mounted 完成?