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

使用优化导致Modal无法弹出 #32

Open
AndrewCloud opened this issue Jul 14, 2017 · 1 comment
Open

使用优化导致Modal无法弹出 #32

AndrewCloud opened this issue Jul 14, 2017 · 1 comment

Comments

@AndrewCloud
Copy link

你好,在使用了优化后解决了白屏问题,但我在RN里使用Modal组件时出现了无法弹出的现象,应该时由于在创建RootView的时候是在MainActivity,但RN是在MyReactActivity里,所以导致无法显示。请问有什么解决方案么

@cnsnake11
Copy link
Owner

你好,首先参考一下这个#19 ,如果按照这个方案也不行的话,建议自行封装modal组件吧,modal组件纯js就可以实现的不错,目前也有很多开源的解决方案,我们的项目就是自行封装的modal组件,所以没有遇到你的问题。

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

2 participants