From cbe877c3c982d887e9c3c05cabd144c7d363dbd2 Mon Sep 17 00:00:00 2001 From: Till JS Date: Tue, 31 Mar 2026 17:27:38 +0200 Subject: [PATCH] fix(todo): prevent DnD from blocking subtask clicks in KanbanTaskCard svelte-dnd-action intercepted pointerdown on .task-card-wrapper items, which interfered with clicks on the inline subtask buttons. Stopping pointer event propagation on the subtasks container prevents DnD from treating subtask clicks as drag interactions. Co-Authored-By: Claude Sonnet 4.6 --- .../apps/web/src/lib/components/kanban/KanbanTaskCard.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/todo/apps/web/src/lib/components/kanban/KanbanTaskCard.svelte b/apps/todo/apps/web/src/lib/components/kanban/KanbanTaskCard.svelte index 6225efec2..50fabe94b 100644 --- a/apps/todo/apps/web/src/lib/components/kanban/KanbanTaskCard.svelte +++ b/apps/todo/apps/web/src/lib/components/kanban/KanbanTaskCard.svelte @@ -270,7 +270,8 @@ {#if task.subtasks && task.subtasks.length > 0 && !task.isCompleted} -
+ +
e.stopPropagation()}> {#each task.subtasks as subtask (subtask.id)}