We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4821112 commit 2fa1d36Copy full SHA for 2fa1d36
src/hooks/useTouchMove.ts
@@ -31,7 +31,7 @@ export default function useTouchMove(
31
function onTouchMove(e: TouchEvent) {
32
if (!touchPosition) return;
33
34
- e.preventDefault();
+ // e.preventDefault();
35
const { screenX, screenY } = e.touches[0];
36
setTouchPosition({ x: screenX, y: screenY });
37
const offsetX = screenX - touchPosition.x;
0 commit comments