Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use draggable divs with jqueryUI sortable and bootstrap (cursor take distance from divs in col-xs-6)

I want to make a draggable divs with jquery UI and bootstrap like this fiddle but when I want to drag third divs at the end it takes distance from cursor.

$(function() {
    $( ".columns" ).sortable({
    });
});
like image 686
m hadadi Avatar asked Oct 19 '22 23:10

m hadadi


1 Answers

I think you can use cursorAt: { left: Value , top: Value} for set your mouse location

like image 114
foozhan Avatar answered Oct 24 '22 12:10

foozhan