MudBlazor Dialog does not works in Maui Blazor. #22343
Labels
area-blazor
Blazor Hybrid / Desktop, BlazorWebView
platform/windows 🪟
s/needs-attention
Issue has more information and needs another look
t/bug
Something isn't working
Description
Yesterday I created an application in Net Maui Blazor and also integrated MudBlazor (6.19.1), everything works well, but when I wanted to integrate a dialog, the Dialog is never shown, however when I did the same test but with Blazor the Dialog It works like a charm.
Steps to Reproduce
1.- Create the Net Maui Blazor App
2.- Download MudBlazor Nuget
3.-Integrate builder.Services.AddMudServices(); in MauiProgram.cs
4.-Integrate in MainLayout.razor: The tags:
MudThemeProvider
MudDialogProvider
MudSnackbarProvider
5.-Integrate in the Counter.razor file my code:
`
/* MudBlazor Tags*/
MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="Confirm">Click Me</MudButton
//Code to execute the Dialog
private async Task Confirm()
{
await DialogService.ShowMessageBox("oooo","Ok");
}
`
Link to public reproduction project repository
No response
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 11
Did you find any workaround?
As I mentioned before, the Dialog works very well in Blazor, but in a Maui Blazor project, the Dialog is never displayed.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: