When I swap items, they “fly in” on the left side of the monitor in Chrome.

$('#Id').sortable({ handle : '.handler', revert : 'true', items : 'li', axis : 'y', }); 
  • for sure there are problems in the layout, you can see elements with a float and somewhere in the container there are 1-2 extra pixels, so they first want to go back there, but when they do not have enough space, they become as it should be - makregistr
  • And how to understand this behavior: everything is fine in Ognelis7, and in the others it runs? - Goldy

1 answer 1

The solution was simple, if the axis: 'X' then the element "flew" with 'Y', and vice versa. It was necessary to simply remove revert: 'true', revert - returns the element in place, so he did not converge.