If this option is set to true, the dragStart event doesn't fire until there is a mousemove on the draggable element.
Looks like a lot of code but most of it is on the test page and readme.
I'd also like to look at canceling the click event if a real drag happened, but that involved some interesting timing issues so I delayed it. This part is straightforward I think. Addresses Issue #13.
Draggabilly v1.2.0 has been released. It now triggers dragStart when dragging starts, and pointerDown when the user's pointer first touches down. Thanks again for giving this a shot :smile:
If this option is set to true, the
dragStart
event doesn't fire until there is a mousemove on the draggable element.Looks like a lot of code but most of it is on the test page and readme.
I'd also like to look at canceling the click event if a real drag happened, but that involved some interesting timing issues so I delayed it. This part is straightforward I think. Addresses Issue #13.