diff --git a/app/src/mobile/util/touch.ts b/app/src/mobile/util/touch.ts index 7124f2fa0..71f65d673 100644 --- a/app/src/mobile/util/touch.ts +++ b/app/src/mobile/util/touch.ts @@ -31,6 +31,7 @@ export const handleTouchEnd = (event: TouchEvent) => { const target = event.target as HTMLElement; if (!clientX || !clientY || typeof yDiff === "undefined" || + target.tagName === "AUDIO" || hasClosestByClassName(target, "b3-dialog") || hasClosestByClassName(target, "keyboard") || hasClosestByAttribute(target, "id", "commonMenu") || @@ -152,6 +153,7 @@ let previousClientX: number; export const handleTouchMove = (event: TouchEvent) => { const target = event.target as HTMLElement; if (!clientX || !clientY || + target.tagName === "AUDIO" || hasClosestByClassName(target, "b3-dialog") || hasClosestByClassName(target, "keyboard") || hasClosestByAttribute(target, "id", "commonMenu") ||