You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
forceFallback & scaled container produce continuously multiplied scale #1699
When a container element wrapping the SortableJS interaction is being scaled with a CSS transform and forceFallback: true is being used, there appears to be an error in the calculation of scaling for the .sortable-fallback element, causing it to continually rescale ever smaller/larger on each drag position update.
With a scale of less than 1 on the ancestor element, the dragged item vanishes to oblivion and over-corrects X/Y position. With a scale of greater than 1, the dragged item grows to encompass the whole screen.
It seems that a calculation that should be happening once to correct for the scale is instead happening continuously and cumulatively.
changed the title [-]forceFallback & scaled container produce multiplied diminishing scale[/-][+]forceFallback & scaled container produce continuously multiplied scale[/+]on Dec 2, 2019
Activity
[-]forceFallback & scaled container produce multiplied diminishing scale[/-][+]forceFallback & scaled container produce continuously multiplied scale[/+]ningbonb commentedon Dec 20, 2019
I encountered the same problem.
#1699: Fixed multiplying ghost transform
owen-m1 commentedon Dec 25, 2019
Fixed in aae2c97
SortableJS#1699: Fixed multiplying ghost transform