vue.draggable.next icon indicating copy to clipboard operation
vue.draggable.next copied to clipboard

Drop into item?

Open jenstornell opened this issue 4 years ago • 1 comments

I just tried out this library for the first time. Works great so far. I will use it for sorting but I also want to use it to drop items into items.

I have like a folder tree. In my real project its lists and groups but think of it as files and filders.

My folder1
My folder2
My folder3
My file1
My file2
My file3

Sorting these items works great. However I want to drop "My file1" INTO "My folder1". It means that "My folder" or any other item should not move when I drag my item to allow dropping it on another item.

Is this possible?

The difference I'm talking about is listed below where sorting makes other items move while dropping makes them appear more like on top of each other.

Sorting

My folder1
My file1
My folder2
My folder3
My file2
My file3

Dropping

My file1 My folder1
My folder2
My folder3
My file2
My file3

jenstornell avatar Nov 30 '21 10:11 jenstornell

Very interested in this as well.

Made a small video https://youtu.be/YMs5cJP5o_g about it.

ArneAnka avatar Dec 30 '21 17:12 ArneAnka