fix: keep the flow chat mounted when leaving the chat tab (#11872)

This commit is contained in:
Guilhem
2026-10-19 23:13:29 +02:00
committed by GitHub
parent a3a4fa5038
commit ed589963f4
@@ -129,7 +129,13 @@
{#snippet content()}
<div class="grow min-h-0 overflow-y-auto">
<TabContent value="form" class="flex flex-col flex-1 h-full">
<!-- The chat holds its open conversation, running turns and draft in component
state, so leaving the tab must not unmount it. -->
<TabContent
value="form"
alwaysMounted={isChatMode}
class="flex flex-col flex-1 h-full"
>
{@render form?.({ graphInline: false })}
</TabContent>