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 @@ - +