[bug] Erratic ghost element position animation during drag with substantial amount of elements
Author: tomasmenezesCreated Oct 26, 2022Updated Jun 3, 2026
When dragging an element in a Sortable grid container with a considerable number of other elements, the starting position for the ghost element's animation is not updated correctly, resulting in the occasional erratic behavior visible in the video below, where it can be seen flickering and jumping from previous path positions. forceFallback: true seems to somewhat alleviate the problem but only slightly.
This issue is reproducible in this Codepen.
Versions sortablejs = ^1.15.0 @types/sortablejs = ^1.13.0 Chrome v106
Source: SortableJS/Sortable