We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Showing a popup from a modal page and than closing it, causes the modal stack to be blocked and the app to hang when trying to pop the modal page.
Popping the modal page (await Navigation.PopModalAsync) should not hang.
You should also see: Showing Main Page again., but this message is not present because Navigation.PopModalAsync hangs.
Code snippet: ` var modalPage = new ModalPage();
Debug.WriteLine("Showing Modal Page!"); await Navigation.PushModalAsync(modalPage); Debug.WriteLine("Showing popup!"); await modalPage.ShowPopupAsync(new APopup()); Debug.WriteLine("Popup closed! Popping modal page."); await Navigation.PopModalAsync(); Debug.WriteLine("Showing Main Page again.");`
https://github.com/dsarbut/PopupBug.git
- .NET MAUI CommunityToolkit: 11.1.0 - OS: Windows - .NET MAUI: 9.0.40
No response
The text was updated successfully, but these errors were encountered:
This is a blocking issue for us, and it occurs on previous .NET MAUI CommunityToolkit (>= 11.0.0) as well.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
Showing a popup from a modal page and than closing it, causes the modal stack to be blocked and the app to hang when trying to pop the modal page.
Expected Behavior
Popping the modal page (await Navigation.PopModalAsync) should not hang.
Steps To Reproduce
Showing Modal Page!
Showing popup!
Popup closed! Popping modal page.
You should also see:
Showing Main Page again., but this message is not present because Navigation.PopModalAsync hangs.
Code snippet:
` var modalPage = new ModalPage();
Debug.WriteLine("Showing Modal Page!");
await Navigation.PushModalAsync(modalPage);
Debug.WriteLine("Showing popup!");
await modalPage.ShowPopupAsync(new APopup());
Debug.WriteLine("Popup closed! Popping modal page.");
await Navigation.PopModalAsync();
Debug.WriteLine("Showing Main Page again.");`
Link to public reproduction project repository
https://github.com/dsarbut/PopupBug.git
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: