From aae2c97180e2096aaa539ba3357080612469d000 Mon Sep 17 00:00:00 2001 From: owen-m1 Date: Wed, 25 Dec 2019 00:17:16 -0500 Subject: [PATCH] #1699: Fixed multiplying ghost transform --- src/Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sortable.js b/src/Sortable.js index 048a38b1c..c791c4f7c 100644 --- a/src/Sortable.js +++ b/src/Sortable.js @@ -789,7 +789,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ { fallbackTolerance = options.fallbackTolerance, fallbackOffset = options.fallbackOffset, touch = evt.touches ? evt.touches[0] : evt, - ghostMatrix = ghostEl && matrix(ghostEl), + ghostMatrix = ghostEl && matrix(ghostEl, true), scaleX = ghostEl && ghostMatrix && ghostMatrix.a, scaleY = ghostEl && ghostMatrix && ghostMatrix.d, relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),