diff --git a/app/Components/TasksApp/TaskList.tsx b/app/Components/TasksApp/TaskList.tsx index 03b583a..5dea170 100644 --- a/app/Components/TasksApp/TaskList.tsx +++ b/app/Components/TasksApp/TaskList.tsx @@ -47,14 +47,15 @@ export default function TaskList({ onDragStart={() => (dragTask.current = index)} onTouchStart={() => (dragTask.current = index)} onDragEnter={() => handleDragEnter(index)} - onTouchMove={() => handleDragEnter(index)} + //onTouchMove={() => handleDragEnter(index)} onDragEnd={handleSort} - onTouchEnd={handleSort} + //onTouchEnd={handleSort} onDragOver={(e) => e.preventDefault()} className={clsx( - "flex flex-row w-full p-2 hover:bg-base-200 rounded-md", + "flex flex-row w-full p-2 hover:bg-base-200 rounded-md border ", { - "border-dashed border border-primary": index == draggedOverTask, + "border-dashed border-primary": index == draggedOverTask, + "border-base-100": index != draggedOverTask, } )} key={task.id} @@ -103,7 +104,7 @@ function Task({ taskContent = ( <> { onChange({ @@ -133,7 +134,7 @@ function Task({ <> setIsEditing(true)} @@ -145,7 +146,7 @@ function Task({ } return (
-
+