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

App进入后台时候,通过网络请求或者推送触发的弹窗会无法点击 #48

Open
BuildFaild opened this issue Feb 20, 2019 · 2 comments

Comments

@BuildFaild
Copy link

如题,复现的话可以在demo里创建弹窗VIew前打断点,然后home键挂起App,再继续运行,运行完弹窗的代码把App恢复前台运行,这时候弹窗就不会响应事件了

@Aaron0927
Copy link

同样的问题

@WuiX
Copy link

WuiX commented Jul 12, 2019

找到这行代码 if (finished) presentCallback();
把if判断去掉,因为后台执行动画animateWithDuration的时候finished返回的是失败,导致弹窗的状态没有设置,点击事件有先判断弹窗是否已经展示,这里一直是没有展示状态,就一直没有响应点击事件了

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

3 participants