From 10f4d75b1772646086e9e5c9dbfcee1197093f82 Mon Sep 17 00:00:00 2001 From: lashman Date: Mon, 16 Nov 2026 19:24:16 +0200 Subject: [PATCH] fix column drag not reordering the drop target arrives as the column's inner droppable id, so the lookup missed and nothing moved --- src/components/board/BoardView.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/board/BoardView.tsx b/src/components/board/BoardView.tsx index f5c392e..f11537f 100644 --- a/src/components/board/BoardView.tsx +++ b/src/components/board/BoardView.tsx @@ -281,7 +281,9 @@ export function BoardView() { if (type === "column") { const activeColumnId = active.id as string; - const overColumnId = over.id as string; + // the card list inside a column is a droppable of its own, so over.id can be a prefixed id + const overColumnId = + (over.data.current?.columnId as string | undefined) ?? String(over.id); if (activeColumnId !== overColumnId) { const fromIndex = currentBoard.columns.findIndex(