I have a drag and drop method:
$("#drag_area a").live("mouseup", function() {
var object = $(this);
var class_array = $(this).attr("class").split(" ");
element(object,class_array);
return false;
}).draggable({
containment: "#drag_area",
grid: [44, 44],
zIndex: 1000
}).each(function(i, item){
});
When I drag an element of type "drag_area a", if I scroll a page while dragging it, the element goes out of control ... This is not a given situation, so how can I avoid this? Can I turn off scrolling while dragging and dropping?
source
share