Custom Layout Modal still dismissible when clicked outside. #534
Unanswered
JerseyTechGuy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Modal Dialog that I am using the UseCustomLayout option and it still seems it can be dismissed with an outside click.
Firstly, I have in my app.razor
<CascadingBlazoredModal HideCloseButton="true" DisableBackgroundCancel="true">
My Dialog is pretty simple.
Finally the launch of the dialog.
var returnedReportParameters = Modal.Show<ReportParametersDialog>("Report Parameters", modalParameters, new Blazored.Modal.ModalOptions() { UseCustomLayout = true });
I know with a custom layout you have to manually implement the click outside close yourself but I though by default the custom layout would then not be dismissible especially with DisableBackgroundCancel set to true.
Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions