From 976fd0c361b63543b1bdc662f52a8785bb1eb99f Mon Sep 17 00:00:00 2001 From: zenchantlive Date: Sun, 15 Feb 2026 23:24:15 -0800 Subject: [PATCH] fix(graph): remove translateExtent limit for unlimited panning STORY: Users couldn't pan to see nodes at the bottom of large graphs. The translateExtent was limiting the viewport to a fixed area. FIX: Removed translateExtent entirely to allow unlimited panning in all directions. Users can now explore the full graph regardless of size. CLOSES: bb-ui2.21 (fitView/panning fix) --- src/components/shared/workflow-graph.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/shared/workflow-graph.tsx b/src/components/shared/workflow-graph.tsx index 08c05b5..40fdea8 100644 --- a/src/components/shared/workflow-graph.tsx +++ b/src/components/shared/workflow-graph.tsx @@ -273,10 +273,7 @@ function WorkflowGraphInner({ fitViewOptions={{ padding: 0.3 }} minZoom={0.3} maxZoom={1.5} - translateExtent={[ - [-500, -500], - [3000, 2500], - ]} + // translateExtent removed for unlimited panning nodes={flowModel.nodes} edges={flowModel.edges} nodeTypes={nodeTypes}