-
Notifications
You must be signed in to change notification settings - Fork 487
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
Current Behavior
When I call ShowPopupAsync and then press the system Back button to dismiss the popup, the popup closes, but the task returned by ShowPopupAsync never completes. As a result, the awaited result is never available.
Expected Behavior
I expect the task to complete when the popup is dismissed, including when it's closed via the system Back button.
Steps To Reproduce
- Derive a popup from Popup<bool?>.
- Call OpenPopupAsync() to show it.
- Press the Android system Back button to close the popup.
- Observe that await OpenPopupAsync() never returns.
Link to public reproduction project repository
Environment
- .NET MAUI CommunityToolkit: 12.0.0
- OS: Android
- .NET MAUI: 9.0.71Anything else?
As requested @TheCodeTraveler
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working