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

QMUIModalPresentationViewController调 hideWithAnimated 不能隐藏 #1043

Closed
zp18862956943 opened this issue Jul 7, 2020 · 2 comments
Closed

Comments

@zp18862956943
Copy link

zp18862956943 commented Jul 7, 2020

Bug 表现
showWithAnimated 动画为YES的时候,如果此时外界原因需要立即关闭弹窗。比如接口返回错误 (网络断开的情况 ,速度很快)此时调hideWithAnimated方法,可是 被 visible 字段 return掉了,方法无法继续执行 。
visible 在 viewWillAppear 和 viewWillDisappear 赋值 ,然而因为此时 还未 走 viewWillAppear ,先走了 hideWithAnimated 导致无法关闭

  • QMUI 版本: [4.1.3]
@MoLice
Copy link
Collaborator

MoLice commented Jul 7, 2020

重复 issue #983

@MoLice MoLice closed this as completed Jul 7, 2020
@MoLice
Copy link
Collaborator

MoLice commented Sep 29, 2020

已发布 4.2.1 修复该问题。

@MoLice MoLice reopened this Sep 29, 2020
@MoLice MoLice closed this as completed Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants