mauricius / vue-draggable-resizable

Vue3 Component for draggable and resizable elements.
https://mauricius.github.io/vue-draggable-resizable/
MIT License
3.33k stars 559 forks source link

Any ways to copy or clone the element is about to drag? #245

Closed sprklinginfo closed 4 years ago

sprklinginfo commented 4 years ago

one of the requirements of my project is to drag a copy of an element and drop it into another container. so for the same type of element, users can drag and drop multiple times. are there props or config for this? Many thanks.

TitanFighter commented 4 years ago

Just an idea - create 2 components with identical coordinates, so user can drag the top one (or create a new one @.drag of the current one). Also maybe you need vue-smooth-dnd instead of vue-draggable-resizable

mauricius commented 4 years ago

@sprklinginfo yeah probably you're looking for a different library because VDR doesn't really meet your requirements.