This commit is contained in:
Kyle
2020-03-31 15:02:32 -07:00
parent 7255394221
commit e31fc79096
2 changed files with 3 additions and 2 deletions

View File

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