Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: prevent create task modal from closing on outside click

Andrej Acevski2d76d12c5234
diff --git a/apps/web/src/components/shared/modals/create-task-modal.tsx b/apps/web/src/components/shared/modals/create-task-modal.tsx
index 3ec57c0cd..3db6f5fa8 100644
--- a/apps/web/src/components/shared/modals/create-task-modal.tsx
+++ b/apps/web/src/components/shared/modals/create-task-modal.tsx
@@ -315,6 +315,7 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {
<DialogContent
className="max-w-2xl max-h-[90vh] flex flex-col"
showCloseButton={false}
+ onInteractOutside={(e) => e.preventDefault()}
>
<DialogHeader className="flex-shrink-0">
<DialogTitle asChild>