From b7982916e2a97f0eeb0cae743020511238548454 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Sat, 21 Aug 2021 14:46:08 +0300 Subject: [PATCH] Follow-up --- src/util/captureEvents.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/captureEvents.ts b/src/util/captureEvents.ts index 8d4e8a8aa..3f27a4062 100644 --- a/src/util/captureEvents.ts +++ b/src/util/captureEvents.ts @@ -121,6 +121,7 @@ export function captureEvents(element: HTMLElement, options: CaptureOptions) { hasMoved = false; hasSwiped = false; + initialSwipeAxis = undefined; } function onMove(e: MouseEvent | RealTouchEvent) {