fix(frontend): make run-page flow graph scrollable (#3830)

Merged
DA
1d ago
+1-1

On the run page the flow graph is rendered without a maxHeight, so its height grows to the full content height. The wrapper used overflow-clip and was itself capped by max-h-screen, so once the graph was taller than the viewport the overflow was clipped with no way to reach the lower nodes.

Switch the wrapper to overflow-y-auto overflow-x-clip so a vertical scrollbar appears only when the content overflows. The flow editor passes maxHeight equal to its container, so its graph never overflows and is unaffected.

Fixes #3830


Summary by cubic

Make the run page flow graph vertically scrollable so users can reach nodes below the viewport. Previously overflow was clipped once the graph exceeded the screen; now a vertical scrollbar appears only when content overflows. Fixes #3830.

  • Details
    • In FlowGraphV2, switch wrapper class to overflow-y-auto overflow-x-clip (height/max-height styles unchanged); horizontal overflow remains clipped.
    • Effect: the run page shows a vertical scrollbar when needed; the flow editor is unchanged because it sets maxHeight to its container.