I am using jQuery for dragging and dropping elements, but I am facing an issue. When I resize the drop zone while starting to drag an item, it seems like the previous size of the drop zone is still being used as the space. Is there a way to fix this?
$('.dragme').draggable({
revert: true,
cursor: 'move',
start: function( event, ui ) {
$('#drop-box').animate({height: '300px' }, 250);
},
});