Fix KanbanBoard: actually wire TouchSensor into useSensors
The import was added but the sensors config replacement failed silently due to line ending mismatch. TouchSensor now properly registered with 200ms delay / 5px tolerance alongside PointerSensor. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4d5052d731
commit
0b84352b09
@ -153,7 +153,8 @@ export default function KanbanBoard({
|
|||||||
onBackToAllTasks,
|
onBackToAllTasks,
|
||||||
}: KanbanBoardProps) {
|
}: KanbanBoardProps) {
|
||||||
const sensors = useSensors(
|
const sensors = useSensors(
|
||||||
useSensor(PointerSensor, { activationConstraint: { distance: 5 } })
|
useSensor(PointerSensor, { activationConstraint: { distance: 5 } })
,
|
||||||
|
useSensor(TouchSensor, { activationConstraint: { delay: 200, tolerance: 5 } })
|
||||||
);
|
);
|
||||||
|
|
||||||
// Subtask view is driven by kanbanParentTask (decoupled from selected task)
|
// Subtask view is driven by kanbanParentTask (decoupled from selected task)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user