From 604123bdb2ebe482a6d3c6bb40f91c474384ca87 Mon Sep 17 00:00:00 2001 From: celine Date: Fri, 10 Jan 2025 18:38:54 -0500 Subject: [PATCH] removed prevent default on touch move causing doc not to scroll when draggable blocks are added --- src/hooks/useDrag.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hooks/useDrag.ts b/src/hooks/useDrag.ts index d734b0cf..f48ac0ac 100644 --- a/src/hooks/useDrag.ts +++ b/src/hooks/useDrag.ts @@ -76,7 +76,6 @@ export const useDrag = (args: { window.addEventListener( "touchmove", (e) => { - e.preventDefault(); if (args.delay && touchStart.current) { const deltaX = e.touches[0].clientX - touchStart.current.x; const deltaY = e.touches[0].clientY - touchStart.current.y; -- 2.51.2