desandro / draggabilly

:point_down: Make that shiz draggable
https://draggabilly.desandro.com
MIT License
3.86k stars 386 forks source link

Getting the drop target element #180

Closed joao-m-santos closed 6 years ago

joao-m-santos commented 6 years ago

Hello,

I'm having trouble finding a way to get the element where I dropped my draggable element. I can find the position but not the element that it was dropped into.

Is there a way in the plugin to get this or is this a feature that does not exist?

Thank you for your attention, Best regards

desandro commented 6 years ago

Thanks for submitting this issue.

Is there a way in the plugin to get this or is this a feature that does not exist?

Sorry, Draggabilly does not support drop targets. However, you can add a 👍 reaction to metafizzy/next-project#1 if you'd like to see a new library built for this purpose.