Working demo http://jsfiddle.net/X3rKJ/ or http://jsfiddle.net/X3rKJ/1/
Add on scroll event and each time you drag it into the second div, it identifies the event and scrolls.
This will help. :) Greetings
Pay attention . The on event gets bound to this object, i.e. The div that the user drags from when the list becomes an unequal decision in height can be: drag it to the div and then scroll it from the bottom or, perhaps, playing with this object and always choosing a larger container as a scroll reference, welcomes the comment: ) This is not as bad as a solution for -1 as a candidate, but all is well. anyhoo ,: (
This solution works fine, to deal with unequal height of the jsut div, you need to add the statement that if 2 divs unevenly exceed the upper values as a base reference to scroll .
the code
var sortlists = $(".connected").sortable({ connectWith : ".connected", items : ".myDivs:not(.excludeThisCss)", tolerance : 'pointer', revert : 'invalid', forceHelperSize: true }).on('scroll', function() { sortlists.scrollTop($(this).scrollTop()); }).disableSelection();;
Tats_innit
source share