From 427646b444e4d8242fd66833585370938d2fa819 Mon Sep 17 00:00:00 2001 From: Jorrin Date: Mon, 15 Apr 2024 17:29:30 +0200 Subject: [PATCH] fix dragging not working on mobile devices --- src/components/form/SortableList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/form/SortableList.tsx b/src/components/form/SortableList.tsx index bdbb0fdd..b139b8e4 100644 --- a/src/components/form/SortableList.tsx +++ b/src/components/form/SortableList.tsx @@ -40,7 +40,7 @@ function SortableItem(props: { item: Item }) { {...attributes} {...listeners} className={classNames( - "bg-dropdown-background hover:bg-dropdown-hoverBackground select-none cursor-pointer space-x-3 flex items-center max-w-[25rem] py-3 px-4 rounded-lg", + "bg-dropdown-background hover:bg-dropdown-hoverBackground select-none cursor-pointer space-x-3 flex items-center max-w-[25rem] py-3 px-4 rounded-lg touch-none", transform && "cursor-grabbing", )} >