Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

Custom drag and drop file interface - Can I create a ghost element to position the new entry before dropping?

Open twilson90 opened this issue 4 years ago • 3 comments

Currently I have implemented a basic drag and drop listener for my sortable element, and it simply appends the new entry to the bottom of the list.

However it would be really cool if I could drag my file over the Sortable element and have it generate a new ghost element between items, so I can position my new-to-be-item on dropping (releasing left mouse button)

I will also need the ability to cancel if I press Escape key before dropping.

Is this possible with the current API? If so, how would I do it?

twilson90 avatar Feb 01 '21 13:02 twilson90

Something like this? I'm trying to figure this out also.

pryley avatar Aug 19 '21 11:08 pryley

Any solutions?

kamilic avatar Feb 28 '22 04:02 kamilic

Any updates on this? Also needed.

danielvanmil avatar May 15 '22 11:05 danielvanmil