diff --git a/src/Home/Home.js b/src/Home/Home.js index 2cee363..6d15977 100644 --- a/src/Home/Home.js +++ b/src/Home/Home.js @@ -91,6 +91,7 @@ class Home extends Shadow { if(amount > (this.SIDEBAR_FULL_OPEN - this.SIDEBAR_START_THRESHOLD)) { this.dragStartX = e.touches[0].clientX this.dragStartTime = Date.now(); // ⬅ track start time + e.stopPropagation(); document.addEventListener("touchmove", this.moveSidebar) } } else { @@ -116,6 +117,7 @@ class Home extends Shadow { if(amount < this.SIDEBAR_START_THRESHOLD) { this.dragStartX = e.touches[0].clientX this.dragStartTime = Date.now(); + e.stopPropagation(); document.addEventListener("touchmove", this.moveSidebar) } } else {