Update sortable.js

This commit is contained in:
Kyle
2020-03-31 15:15:03 -07:00
parent e31fc79096
commit a75e5d874b

View File

@@ -1686,9 +1686,9 @@ 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;
console.log(ghostRelativeParent, container, this)
//rect.top += ghostRelativeParent.scrollTop;
//rect.left += ghostRelativeParent.scrollLeft;
} else {
ghostRelativeParent = getWindowScrollingElement();
}