Open laszlodaniel opened 6 months ago
Mopups & Community Toolkit dialogs are working but DefaultDialogService doesn't work. It seems it's related to AppShell navigation logic.
If you remove the following line from MauiProgram.cs, CommunityToolkit or Mopups implementation will work.
builder.Services.AddSingleton<IDialogService, DefaultDialogService>();
I'll take a look at Default implementation, it may be related to a MAUI bug since code seems correct
Probably fixed by https://github.com/enisn/UraniumUI/pull/701/files
I'll check
Description
None of the dialog services work on navigated pages. Dialogs pop up and seemingly return information but they won't disappear. Then an unhandled exception is thrown on second button tap.
Dialogs are ok on the main page.
CommunityToolkitDialog and MopupsDialog is also affected.
Steps to reproduce
Download and try this sample project: UraniumUIPopupTest.zip.
Version with bug