MudBlazor.Extensions icon indicating copy to clipboard operation
MudBlazor.Extensions copied to clipboard

[Bug]: Clicking backdrop when 'BackdropClick = false' still closes dialog

Open jaypalexa opened this issue 7 months ago • 1 comments

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

TestApp.zip

Pull Request

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

jaypalexa avatar Jul 12 '24 16:07 jaypalexa