JavaScript animation engine
Build
Julian Garnierb4cf3fc851d5
diff --git a/lib/anime.esm.js b/lib/anime.esm.jsindex 263219c3..09737c94 100644--- a/lib/anime.esm.js+++ b/lib/anime.esm.js@@ -6290,7 +6290,7 @@ class Draggable {break;}}- $parent = /** @type {HTMLElement} */($parent.parentNode);+ $parent = $parent.parentElement;}if (canTouchScroll && ((!isAtTop && !isAtBottom) || (isAtTop && movedY < 0) || (isAtBottom && movedY > 0))) {diff --git a/types/index.js b/types/index.jsindex c55a7852..f46505b0 100644--- a/types/index.js+++ b/types/index.js@@ -5458,7 +5458,7 @@ class Draggable {break;}}- $parent = /** @type {HTMLElement} */ ($parent.parentNode);+ $parent = $parent.parentElement;}if (canTouchScroll && ((!isAtTop && !isAtBottom) || (isAtTop && movedY < 0) || (isAtBottom && movedY > 0))) {this.pointer[0] = x;