MudBlazor.Extensions
MudBlazor.Extensions copied to clipboard
[Bug]: Clicking backdrop when 'BackdropClick = false' still closes dialog
Contact Details
No response
What happened?
I upgraded to MudBlazor.Extensions v2.0.0 and changed the DialogOptionsEx option on an existing call from DisableBackdropClick = true
to BackdropClick = false
as per the MudBlazor v7 migration instructions.
When I clicked on the backdrop when the dialog was open, the dialog closed (and the shaded overlay remained, preventing interaction with the screen beneath it).
ref: MudBlazor v7.0.0 Migration Guide
Expected Behavior
I expected that when I clicked on the backdrop when a dialog was open that nothing would happen; that is, that the dialog would remain open.
Screenshots
No response
Reproduction link
No response
What application type are you referring to?
ServerRendered
Custom Application Type
No response
MudBlazor.Extension Version
2.0.0
MudBlazor Version
7.1.1
What .net Version are you using?
.Net8
What browser are you using?
Chrome
Sample Solution
Pull Request
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct