From 7733e4d5fa6857aa1c6d694609af6dcf8b080129 Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 24 Aug 2021 15:02:46 +0800 Subject: [PATCH] feat: kanban use rectIntersection collision detection --- packages/client/src/schemas/kanban/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/client/src/schemas/kanban/index.tsx b/packages/client/src/schemas/kanban/index.tsx index 810d124a0f..85b2ead12f 100644 --- a/packages/client/src/schemas/kanban/index.tsx +++ b/packages/client/src/schemas/kanban/index.tsx @@ -5,6 +5,7 @@ import { useDroppable, useSensor, useSensors, + rectIntersection, } from '@dnd-kit/core'; import { SortableContext, @@ -218,6 +219,7 @@ const InternalKanban = observer((props: any) => { { const el = event?.active?.data?.current?.nodeRef ?.current as HTMLElement;