johnny / jquery-sortable

A flexible, opinionated sorting plugin for jQuery
http://johnny.github.io/jquery-sortable/
Other
1.52k stars 441 forks source link

Sortable nested group improvement #224

Open ShintaroNippon opened 8 years ago

ShintaroNippon commented 8 years ago

I'm using jQuery sortable on an element but when I drop down an element under other he set him as a child. Check please this behaviour to demonstrate: http://recordit.co/w8c5oXbnq4

I'm using sortable like this:

$('.sortable').sortable({ group: 'nested', handle: 'i.cat-move',

How can i set right behaviour without being a child? Thanks in advance