fix: keep the plain graph container where no step pane can appear

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016eu85JrwsztjfXGNQAATRz
This commit is contained in:
Guilhem Lemouel
2026-08-26 15:18:18 +02:00
co-authored by Claude Opus 5
parent 80d6fb7eb3
commit 259b878751
@@ -196,6 +196,11 @@
{#if hasSideContent}
{@render side()}
{/if}
{:else if noSide}
<!-- No step pane can ever appear here, so there is no transition to protect against and
the graph keeps its plain container — svelte-splitpanes measures, and several of these
embeds sit in an ancestor with no definite height. -->
{@render graph()}
{:else}
<!-- The graph keeps one pane across every transition, and only the step pane comes and
goes. Rendering it in two branches instead would re-create FlowGraphV2 whenever the