Shadcn: How do I prevent a dialog from closing when clicking outside?
16:44 17 Oct 2025

When I click outside my Shadcn Dialog component, the dialog is closed automatically. Is there any way to prevent this behaviour? I would like it so that the dialog will remain open, even after clicking outside of it.

dialog shadcnui