isaacHagoel / svelte-dnd-action

An action based drag and drop container for Svelte
MIT License
1.67k stars 100 forks source link

Only drag an item on click and hold for mobile #534

Open vitormisumi opened 4 months ago

vitormisumi commented 4 months ago

I'm not sure if this feature exists already and I couldn't find, but on mobile I can't manage to scroll a board if it takes more than the entire screen, since as soon as I click on an item it starts to drag. It would be nice to have the option to only drag if I click and hold the item.

isaacHagoel commented 4 months ago

See #406 and #338

On Fri, Jan 5, 2024, 02:32 vitormisumi @.***> wrote:

I'm not sure if this feature exists already and I couldn't find, but on mobile I can't manage to scroll a board if it takes more than the entire screen, since as soon as I click on an item it starts to drag. It would be nice to have the option to only drag if I click and hold the item.

— Reply to this email directly, view it on GitHub https://github.com/isaacHagoel/svelte-dnd-action/issues/534, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4OZC7TCPTK5L2SYUFLHM3YM3DP3AVCNFSM6AAAAABBNDOAXKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DKOBWGY2TMMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

vitormisumi commented 4 months ago

Thanks, I haven't tested yet, but I believe this is what I need 👍