Clone with sortable/droppable
jonkristian opened this issue · comments
Hello:) Nice piece of code, and it's already doing more than I could get working with jquery-ui :)
My problem is that I have a list with sortable elements and an iframe with droppable placeholders. I can sort the list and drop inside the iframe, but during drop I cannot get it to clone the element. Once I disable the sortable it's working as expected.
Any ideas?
What worked with jquery-ui was to .clone(true) the element and cancel so that the sortable/draggable would return back.
Hi @jonkristian, I've added a clone
option to the droppable. Just set it to true
and your use case should work. Please try it out and let me know if it works for you
@rkusa Awesome, it works:)
Thanks a lot for this!