kutlugsahin / smooth-dnd

drag and drop library for javascript
MIT License
611 stars 148 forks source link

Option to fire drop early before drop animation ends #18

Open 2xAA opened 6 years ago

2xAA commented 6 years ago

Hi Kutlu,

Great library - thanks for this and the Vue package also.

I was wondering if it was possible to fire the drop event early before the drop animation ends? - e.g. as soon as the user lets go of the item to drop it.

By that point we know the user's intent, so the animation is secondary.

I'm planning on using this in a live performance application and it would be nice to have the animation, but for the changes to the data Array to happen as soon as possible.

Cheers, Sam