cameronhimself / vue-drag-drop

A lightweight Vue wrapper that abstracts away the wonkier parts of the Drag and Drop Browser API
496 stars 83 forks source link

Magnet effect #80

Open bi6o opened 5 years ago

bi6o commented 5 years ago

First of all, I would like to thank you for this awesome library. It's really dope and easy to use!

I was wondering here, is there a way to have a magnet effect feature added? Such that when a drag element is near a drop one, it can automatically snap into place? There's an example here from a different library that achieved it before. Maybe I missed something about this in the docs? If not, is it possible, or planned, to implement such a feature?

coatesap commented 2 years ago

I'm also missing having a snapping feature from other drag & drop libraries. Adding this comment just to make this issue more searchable under the term "snapping" for other users.