diff --git a/packages/editor/src/lib/utils/edgeScrolling.ts b/packages/editor/src/lib/utils/edgeScrolling.ts index b79f16092..b89e804fe 100644 --- a/packages/editor/src/lib/utils/edgeScrolling.ts +++ b/packages/editor/src/lib/utils/edgeScrolling.ts @@ -33,7 +33,12 @@ function getEdgeProximityFactor( * @public */ export function moveCameraWhenCloseToEdge(editor: Editor) { - if (!editor.inputs.isDragging || editor.inputs.isPanning) return + if ( + !editor.inputs.isDragging || + editor.inputs.isPanning || + !editor.getInstanceState().canMoveCamera + ) + return const { inputs: {