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:
parent
42d7be106e
commit
427646b444
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue