-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
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
- Download the sample project and run
- on main page press Sample Popup button (popup appears)
- 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