fix: set default collision detection algorithm for funnel
This commit is contained in:
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import React, { ReactNode, RefObject } from "react";
|
import React, { ReactNode, RefObject } from "react";
|
||||||
import {
|
import {
|
||||||
closestCenter,
|
|
||||||
DndContext,
|
DndContext,
|
||||||
DragEndEvent,
|
DragEndEvent,
|
||||||
DragOverEvent,
|
DragOverEvent,
|
||||||
@ -150,7 +149,6 @@ const FunnelDnd = <
|
|||||||
return (
|
return (
|
||||||
<DndContext
|
<DndContext
|
||||||
sensors={sensors}
|
sensors={sensors}
|
||||||
collisionDetection={closestCenter}
|
|
||||||
onDragStart={onDragStart}
|
onDragStart={onDragStart}
|
||||||
onDragOver={onDragOver}
|
onDragOver={onDragOver}
|
||||||
onDragEnd={onDragEnd}>
|
onDragEnd={onDragEnd}>
|
||||||
|
|||||||
Reference in New Issue
Block a user