-
Notifications
You must be signed in to change notification settings - Fork 24
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
OneContext().popAllDialogs() or OneContext().popDialogs() don't work. This function pop my screen instead of my dialog #24
Comments
Hi @anhkhoi159 can you provide some minimal reproducible code? Instead dialogs.mov |
@anhkhoi159 I gonna check this out, but if you want to lock the screen while something is loading, it might make more sense to use overlays // Show a custom progress indicator
OneContext().showProgressIndicator(
builder: (_) => MyAwesomeProgressIndicator(); // You can use your custom progress indicator here!
);
// Later
OneContext().hideProgressIndicator(); |
@emanuel-braz if I use overlays, I cannot show loading when any dialog is showing. can you help me check my case?. |
@anhkhoi159 have you ever tried without WillPopScope? you can use the |
@emanuel-braz |
I don't understand, the overlay is not behind dialogs, can you provide a video? |
Screen.Recording.2022-07-19.at.09.14.15.mov@emanuel-braz can you help me check, my overlay is behind my dialog. |
Hello I tried to reproduce this behavior, without success :( |
When I use OneContext().showDialog(builder: (_)=>loadingDialog) to show dialog which lying on top of another Dialog, OneContext().popAllDialogs() or OneContext().popDialogs() don't work. This function pop my screen instead of my loading dialog
The text was updated successfully, but these errors were encountered: