This commit is contained in:
Kyle
2020-03-31 15:42:35 -07:00
parent a75e5d874b
commit 90a5e2fec8
3 changed files with 5 additions and 6 deletions

View File

@@ -1686,9 +1686,8 @@ Sortable.prototype =
if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
console.log(ghostRelativeParent, container, this)
//rect.top += ghostRelativeParent.scrollTop;
//rect.left += ghostRelativeParent.scrollLeft;
//rect.left += ghostRelativeParent.scrollLeft; /*These don't work with my iPhone for some reason? -Kyle*/
} else {
ghostRelativeParent = getWindowScrollingElement();
}