You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Popup is not working on Windows whe opend from a modal #2459
The method MapOnOpened assigns a null value to the XamlRoot : handler.PlatformView.XamlRoot = parent.XamlRoot
On Mopup this never happens and it uses something like this: handler.PlatformView.XamlRoot = Application.Current.MainPage.Handler.MauiContext.Services.GetService<Microsoft.UI.Xaml.Window>().Content.XamlRoot;
Activity
sferhah commentedon Jan 21, 2025
The method
MapOnOpenedassigns a null value to the XamlRoot :handler.PlatformView.XamlRoot = parent.XamlRootOn Mopup this never happens and it uses something like this:
handler.PlatformView.XamlRoot = Application.Current.MainPage.Handler.MauiContext.Services.GetService<Microsoft.UI.Xaml.Window>().Content.XamlRoot;tobiasguelpen commentedon Jan 28, 2025
This issue also happens with CommunityToolkit 10. and MAUI: 9.0.21.
Right now it is blocking us from updating the CommunityToolkit.
ne0rrmatrix commentedon Jan 28, 2025
I have tested this with the provided sample and found popup does crash when using modal navigation.
asi-evin commentedon Jan 28, 2025
Still an issue in CommunityToolkit 11.0 and MAUI 9.30. Also a blocking issue for me.