Моя проблема в том, что я использую заполнитель для перетаскиваемого элемента, и этот элемент перемещается к элементам в следующей строке/строке изображений.
Сортируемый код :
Код: Выделить всё
$('.product-image-manager').sortable({
handle: '.fa-arrows',
helper: 'clone',
items: '> .image-container',
placeholder: 'image-placeholder',
start: function(event, ui) {
ui.placeholder.height(ui.item.height());
ui.placeholder.html('');
}
});
Подробнее здесь: https://stackoverflow.com/questions/393 ... s-under-it