How do I allow the user to close the modal by clicking outside the modal? Right now it doesn’t close if clicked outside
Funny 2 years ago the opposite question was asked:
How do I allow the user to close the modal by clicking outside the modal? Right now it doesn’t close if clicked outside
Funny 2 years ago the opposite question was asked:
The default behavior of the modal is to close when you click outside. It won’t close on click when the “No close on click” option is enabled:
Oh, such option doesn’t exist in Bootbox dialogs
You haven’t mentioned bootbox dialogs in your post. Bootbox dialogs are different than the modal component of Bootstrap 5.
Also - which of the bootbox dialogs are you using? There’s a close on click option available for the prompt component, not for the others:
Sorry about that, in my head I strictly saw it as a Bootstrap modal
I’m using the Confirmation one
It doesn’t seem to be doing anything, I guess that’s a bug?
Marking answer as solved regardless, thanks!
Opened a bug report here: