#3350·Prism

Add Support for Maui Community Toolkit Popups

Author: faizkhan005Created Oct 9, 2025Updated Sep 23, 2026
LabelsenhancementMAUI

Description

I am getting this error while trying to close Maui CommunityToolkit popups {System.NullReferenceException: Object reference not set to an instance of an object. at Prism.Ioc.IContainerProviderExtensions.Resolve[INavigationService](IContainerProvider provider) in /_/src/Prism.Container.Abstractions/IContainerProviderExtensions.cs:line 16 at Prism.Navigation.Xaml.Navigation.GetNavigationService(Page page) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Navigation\Xaml\Navigation.cs:line 122 at Prism.Navigation.PrismWindow.PrismWindow_ModalPopping(Object sender, ModalPoppingEventArgs e) in D:\a\Prism\Prism\src\Maui\Prism.Maui\Navigation\PrismWindow.cs:line 87

here is the link to sample project https://github.com/faizkhan005/PrismPopupIssues

Steps to Reproduce

  1. Download the sample project and run
  2. on main page press Sample Popup button (popup appears)
  3. now try clicking outside the popup error message is thrown

Platform with bug

.NET MAUI

Affected platforms

iOS, Android

Did you find any workaround?

No response

Relevant log output

bash