-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Popping context pops current screen not alert #33
Comments
some of the package are already using that approach see below
|
surprisingly this only happens in macos |
Unforunately I have to create own package for this. Thanks for your time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the 3rd time I am reporting this issue and 2 times I have given pull request for same but I don't know why this issue is always supressed.
The issue is so intermittent that it's very hard to catch.
The context we are passing and the context we are popping is same which pops screen behind the alert.
I gave solution to simply return context alert is using in onConfirmBtnTap function . onConfirmBtnTap(context)
We are always popping parent context in onConfirmBtnTap if we are defining that function , if function is null it pops context that alert widget has defined (child context of what we have passed)
see quickalert_buttons.dart
The text was updated successfully, but these errors were encountered: