New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MudBlazor Dialog does not works in Maui Blazor. #22343
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Closed similar issues:
|
Have you tried asking in the MudBlazor github? |
This seems like a Maui issue. I have the same problem. Mudblazor works fine in a blazor app. Mudblazor also works fine in a Maui app. |
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: