Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
When multiple popups are triggered by simultaneously fired event handlers a single popup is displayed which cannot be closed.
The following runtime error is displayed in the debugger:
Popup Repro[12019:195098] [Presentation] Attempt to present <Microsoft_Maui_Controls_Platform_ControlsModalWrapper: [Memory Address 1]> on <Microsoft_Maui_Platform_PageViewController: [Memory Address 2]> (from <Microsoft_Maui_Platform_PageViewController: [Memory Address 2]>) which is already presenting <Microsoft_Maui_Controls_Platform_ControlsModalWrapper: [Memory Address 3]>.
Expected Behavior
Popups created by simultaneously fired event handlers should be stacked on top of each other in the (undefined) order in which they are created.
Steps To Reproduce
- Open and Run the repro Repository.
- Tap the entry.
- Press the Button.
- Attempt to close the popup by tapping outside of it.
- Note: the popup does not close.
Link to public reproduction project repository
https://github.com/519smxs/Popup-Repro
Environment
- .NET MAUI CommunityToolkit: 14.0.1
- OS: MacOS 26.3
- XCode 26.2
- .NET MAUI: 10.0.103
Issue also exists with CommunityToolkit 12.1.0 with .NET Maui 9.0.311. The issue exists on iOS 26 Simulators and Physical Devices. It does not appear to be reproducible on Android.
Anything else?
I initially observed this behavior in CommunityToolkit 12.1.0 with .NET Maui 9.0.311. In researching it I found issue 3148 which motivated me to update to CommunityToolkit 14.0.1 and .NET Maui 10.0.103. That update appears to have addressed one means of creating the issue in my main project, however, others persist.
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
When multiple popups are triggered by simultaneously fired event handlers a single popup is displayed which cannot be closed.
The following runtime error is displayed in the debugger:
Popup Repro[12019:195098] [Presentation] Attempt to present <Microsoft_Maui_Controls_Platform_ControlsModalWrapper: [Memory Address 1]> on <Microsoft_Maui_Platform_PageViewController: [Memory Address 2]> (from <Microsoft_Maui_Platform_PageViewController: [Memory Address 2]>) which is already presenting <Microsoft_Maui_Controls_Platform_ControlsModalWrapper: [Memory Address 3]>.
Expected Behavior
Popups created by simultaneously fired event handlers should be stacked on top of each other in the (undefined) order in which they are created.
Steps To Reproduce
Link to public reproduction project repository
https://github.com/519smxs/Popup-Repro
Environment
Anything else?
I initially observed this behavior in CommunityToolkit 12.1.0 with .NET Maui 9.0.311. In researching it I found issue 3148 which motivated me to update to CommunityToolkit 14.0.1 and .NET Maui 10.0.103. That update appears to have addressed one means of creating the issue in my main project, however, others persist.