diff --git a/src/action-handler.ts b/src/action-handler.ts index 87066ae..f9bf541 100644 --- a/src/action-handler.ts +++ b/src/action-handler.ts @@ -179,6 +179,12 @@ class ActionHandler extends HTMLElement implements ActionHandler { } return; } + + // Don't do anything else if touch event was cancelled + if (ev.type == 'touchcancel') { + return; + } + const target = ev.target as HTMLElement; // Prevent mouse event if touch event if (ev.cancelable) {