diff --git a/web/lib/src/canvas.ts b/web/lib/src/canvas.ts index ccd135540..c4ef7ec6c 100644 --- a/web/lib/src/canvas.ts +++ b/web/lib/src/canvas.ts @@ -2,5 +2,6 @@ export const preventDefaultTouchActions = () => { document.body.querySelectorAll("canvas").forEach(canvas => { canvas.addEventListener("touchstart", e => e.preventDefault()) canvas.addEventListener("touchmove", e => e.preventDefault()) + canvas.addEventListener("contextmenu", e => e.preventDefault()) }) }