PuruVJ/neodrag

Add `delay` property

PuruVJ opened this issue · 3 comments

Trigger drag only after a specified number of milliseconds

@PuruVJ
What's the reason behind this feature?

Someone long presses the box for delay duration, and then start to drag. Moving the finger before that delay duration cancels dragging.

Kind of how native app's drag and drop works, so wanna implement that here

@PuruVJ
Added a PR and implemented this as "holdDelay" option
#157