I have a form inside this window and opening it with {hasBackdrop: false, closeOnEsc: false}
property makes the background of my web app uneasy to look at.
Please take a look here: window without backdrop.
Now is there a way to add backdrop shadow when hasBackdrop is set to false? I just want to disable the dismiss function on clicking outside not the background shadow.
If you see NbWindowConfig
there is a property that is closeOnBackdropClick
with a type of boolean. Use that instead of setting hasBackdrop
to false
.