1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

fix dragging not working on mobile devices

This commit is contained in:
Jorrin 2024-04-15 17:29:30 +02:00
parent 42d7be106e
commit 427646b444

View file

@ -40,7 +40,7 @@ function SortableItem(props: { item: Item }) {
{...attributes} {...attributes}
{...listeners} {...listeners}
className={classNames( 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", transform && "cursor-grabbing",
)} )}
> >