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:
Kyle 2026-03-07 17:42:27 +08:00
parent 4d5052d731
commit 0b84352b09

View File

@ -153,7 +153,8 @@ export default function KanbanBoard({
onBackToAllTasks,
}: KanbanBoardProps) {
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)