diff --git a/invokeai/frontend/web/src/features/nodes/components/Flow.tsx b/invokeai/frontend/web/src/features/nodes/components/Flow.tsx index c31fc4e9b7..7b0718182b 100644 --- a/invokeai/frontend/web/src/features/nodes/components/Flow.tsx +++ b/invokeai/frontend/web/src/features/nodes/components/Flow.tsx @@ -72,6 +72,7 @@ export const Flow = () => { const onInit: OnInit = useCallback( (v) => { dispatch(setEditorInstance(v)); + if (v) v.fitView(); }, [dispatch] );