From cacec43cbc036ef7f97b180c8d4660dd54f31d97 Mon Sep 17 00:00:00 2001 From: MehrdadAdabi <126083584+mehrdadAdabi@users.noreply.github.com> Date: Wed, 26 Nov 2025 19:47:41 +0330 Subject: [PATCH] feat(dialog): Prevent dialog from closing on overlay click The `onClick` handler on the full-screen dialog overlay has been commented out. This change prevents the dialog from closing automatically when a user clicks anywhere outside the main dialog content, but within the overlay area. This allows for dialogs that require explicit user action to dismiss, providing more control over dialog persistence for specific use cases. --- src/core/components/base/dialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/components/base/dialog.tsx b/src/core/components/base/dialog.tsx index 71198d7..e88b252 100644 --- a/src/core/components/base/dialog.tsx +++ b/src/core/components/base/dialog.tsx @@ -38,7 +38,7 @@ export const Dialog: FC = ({ return (