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

bindPage为true的时候,出现页面跳转,此时,onDismiss()方法不会触发 #162

Closed
chensimin920511 opened this issue Dec 5, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@chensimin920511
Copy link

bindPage为true的时候,出现页面跳转,此时,onDismiss()方法不会触发,但是dialog已经跟随page而消失了

@xdd666t
Copy link
Member

xdd666t commented Dec 5, 2023

只是隐藏了,你回到这个页面的时候还会出现,并不是关闭了

@chensimin920511
Copy link
Author

路由使用push的时候确实是隐藏的,但是如果使用的是pushUntil(),或者pushNamedAndRemoveUntil()这种,会把之前的page出栈的方式,此时onDismiss()也是不会触发的

@xdd666t xdd666t self-assigned this Dec 9, 2023
@xdd666t xdd666t added the bug Something isn't working label Dec 9, 2023
xdd666t added a commit that referenced this issue Dec 9, 2023
@xdd666t
Copy link
Member

xdd666t commented Dec 16, 2023

  • 试下新版本
dependencies:
  flutter_smart_dialog: ^4.9.5+2

@xdd666t xdd666t closed this as completed Dec 21, 2023
@chensimin920511
Copy link
Author

chensimin920511 commented Dec 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants