diff --git a/src/container/ZoomPane/index.tsx b/src/container/ZoomPane/index.tsx index dc3c7dd2..99e72806 100644 --- a/src/container/ZoomPane/index.tsx +++ b/src/container/ZoomPane/index.tsx @@ -234,8 +234,8 @@ const ZoomPane = ({ return false; } - // if the pane is not movable, we prevent dragging it with the mouse - if (!paneMoveable && event.type === 'mousedown') { + // if the pane is not movable, we prevent dragging it with mousestart or touchstart + if (!paneMoveable && (event.type === 'mousedown' || event.type === 'touchstart')) { return false; }