fix column drag not reordering

the drop target arrives as the column's inner droppable id, so the lookup missed and nothing moved
This commit is contained in:
2026-11-16 19:24:16 +02:00
parent 867f7e5e37
commit 10f4d75b17
+3 -1
View File
@@ -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(