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(