When I make a draggable clone and drop it in a droppable I cannot drag it again

后端 未结 4 518
执念已碎
执念已碎 2020-11-28 20:52

When I make a draggable clone and drop it in a droppable I cannot drag it again. How do I do that? Secondly I can only figure out how to us .append to add the c

4条回答
  •  迷失自我
    2020-11-28 21:21

    I found this question via Google. I couldn't keep the positions from snapping to the container either, until I changed 'ui.draggable' to 'ui.helper' when appending:

    $(this).append($(ui.helper).clone());
    

提交回复
热议问题