From e31fc79096207ff15a1eff9f70b4a96480f7087c Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Tue, 31 Mar 2020 15:02:32 -0700 Subject: [PATCH] test --- data/scripts/sortable.js | 3 ++- index.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/scripts/sortable.js b/data/scripts/sortable.js index c2300839..dd43b14b 100644 --- a/data/scripts/sortable.js +++ b/data/scripts/sortable.js @@ -1686,6 +1686,7 @@ Sortable.prototype = if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) { if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement(); + console.log(ghostRelativeParent, contained, this) rect.top += ghostRelativeParent.scrollTop; rect.left += ghostRelativeParent.scrollLeft; } else { @@ -3692,4 +3693,4 @@ function removeMultiDragElements() { } // export default Sortable; -// export { AutoScrollPlugin as AutoScroll, MultiDragPlugin as MultiDrag, OnSpill, Sortable, SwapPlugin as Swap }; \ No newline at end of file +// export { AutoScrollPlugin as AutoScroll, MultiDragPlugin as MultiDrag, OnSpill, Sortable, SwapPlugin as Swap }; diff --git a/index.html b/index.html index bd8d07b6..b7724e9f 100644 --- a/index.html +++ b/index.html @@ -244,7 +244,7 @@ - +