Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
I am attempting to use the community toolkit popup as a busy dialog. The dialog is shown when a page loads for a certain duration of time until the page load is complete. The user does not interact with the popup and it is programmatically closed. When attempting to close the popup the application will crash.
Expected Behavior
Application should not crash when calling Shell.Current.ClosePopupAsync();
Steps To Reproduce
- Create a new Maui application
- Create a new page
- Create button click event to navigate to the new page
- During OnAppearing open a popup with a ViewModel
- Wait a few seconds
- Attempt to close the dialog
- Launch the application on Android 16 and navigate to page with the dialog
- Application will crash
See attached repo to reproduce issue
Link to public reproduction project repository
https://github.com/jpcassano/ClosePopupIssue
Environment
- .NET MAUI CommunityToolkit:14.0.1
- Development OS: Windows 11 Pro 25H2
- Visual Studio: 2026 Version 18.4.3
- .NET: 10
- Android: 16
- Microsoft.Maui.Controls: 10.0.51
- CommunityToolkit.Mvvm: 8.4.2
Anything else?
No response
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
I am attempting to use the community toolkit popup as a busy dialog. The dialog is shown when a page loads for a certain duration of time until the page load is complete. The user does not interact with the popup and it is programmatically closed. When attempting to close the popup the application will crash.
Expected Behavior
Application should not crash when calling Shell.Current.ClosePopupAsync();
Steps To Reproduce
See attached repo to reproduce issue
Link to public reproduction project repository
https://github.com/jpcassano/ClosePopupIssue
Environment
Anything else?
No response