diff --git a/packages/editor/src/lib/hooks/useFixSafariDoubleTapZoomPencilEvents.ts b/packages/editor/src/lib/hooks/useFixSafariDoubleTapZoomPencilEvents.ts index 658963086..7b64f69cf 100644 --- a/packages/editor/src/lib/hooks/useFixSafariDoubleTapZoomPencilEvents.ts +++ b/packages/editor/src/lib/hooks/useFixSafariDoubleTapZoomPencilEvents.ts @@ -38,7 +38,7 @@ export function useFixSafariDoubleTapZoomPencilEvents(ref: React.RefObject { elm.removeEventListener('touchstart', handleEvent) - elm.addEventListener('touchend', handleEvent) + elm.removeEventListener('touchend', handleEvent) } }, [editor, ref]) }