In jquery dragable, returning item does not return to its original position

I am using jquery-ui dragable and set refvert for invalid.

the problem is that when I drag an element and leave it invalid, it does not return to its initial position. it takes place in a new position.

I include an example:

http://jsfiddle.net/zMxJv/

+3
source share
2 answers

Remove from the code draggableand droppablethat you really do not need, since the sortable descriptors are for you.

Here's an updated fiddle to give you an idea of ​​where these chapters are: http://jsfiddle.net/zMxJv/5/

, , connectWith.

+1

true false, droppable, draggable.

, : , . :

containment: 'parent'

.

. : http://jsfiddle.net/qMdGs/3/

: http://jsfiddle.net/qMdGs/5/

+3

All Articles