Skip to content

Commit 2fa1d36

Browse files
tenebriusirvanherz
andauthored
fixing tab bar swipe in cross axis (#622)
Co-authored-by: Irvan <[email protected]>
1 parent 4821112 commit 2fa1d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useTouchMove.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function useTouchMove(
3131
function onTouchMove(e: TouchEvent) {
3232
if (!touchPosition) return;
3333

34-
e.preventDefault();
34+
// e.preventDefault();
3535
const { screenX, screenY } = e.touches[0];
3636
setTouchPosition({ x: screenX, y: screenY });
3737
const offsetX = screenX - touchPosition.x;

0 commit comments

Comments
 (0)