bevacqua / dragula

:ok_hand: Drag and drop so simple it hurts
https://bevacqua.github.io/dragula/
MIT License
22.01k stars 1.97k forks source link

add animation #656

Open sindu12jun opened 3 years ago

sindu12jun commented 3 years ago

Hi, I have made animation a default fault option config

ErickLuis00 commented 3 years ago

Containers without items do not work the animation and break the shadow

Solution:

Before if (!mover) { return; }

After if (!mover) { mover = dropTarget }

Thanks for making the animation, it helped a lot in my project.

sindu12jun commented 3 years ago

Containers without items do not work the animation and break the shadow

Solution:

Before if (!mover) { return; }

After if (!mover) { mover = dropTarget }

Thanks for making the animation, it helped a lot in my project.

OK thanks a lot, I have updated my PR