I have a draggable defined this way:
$("#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 item of the type 'drag_area a', if i scroll the page while dragging it, the item exits from containment... It is not a desidered situation, so how can i avoid this? Can i disable page scrolling during dragging?
overflow: autoso when you drag-drop, scroll will be remain in the container itself.