How can I drag from a connected vertical list to the first item of a another list below with jQueryUI Sortable?
Posted
by
Denis Hoctor
on Stack Overflow
See other posts from Stack Overflow
or by Denis Hoctor
Published on 2011-01-07T21:52:12Z
Indexed on
2011/01/07
21:53 UTC
Read the original article
Hit count: 404
Hi all,
I have have several ULs vertically down a page. They are setup using jQueryUI's sortable(). My live example is:
http://jsfiddle.net/pborreli/pJgyu/
I can drag from answers to make it the final element in questions. But when I drag from questions to answers the placeholder jumps to the second item in the questions list. At that point I can then drag it to the top.
Any ideas why I am having this issue dragging from a list above to the first element of a list below?
I've tried editing the padding and margin on both the lists and the sortable items.
Thanks, Denis
© Stack Overflow or respective owner