From c39ea31e1aec2813ac651e3d163c1d6723b3107a Mon Sep 17 00:00:00 2001 From: Taylor Ho Date: Fri, 22 May 2026 00:03:56 -0700 Subject: [PATCH] fix(terminal): keep TerminalPanel mounted so exit animation plays AnimatePresence needs the component to stay in the tree during exit. Previously the parent conditional unmounted it instantly on close, preventing the shrink+fade animation from running. --- desktop/src/features/channels/ui/ChannelPane.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/features/channels/ui/ChannelPane.tsx b/desktop/src/features/channels/ui/ChannelPane.tsx index 0e83e712d5..415552d26a 100644 --- a/desktop/src/features/channels/ui/ChannelPane.tsx +++ b/desktop/src/features/channels/ui/ChannelPane.tsx @@ -411,7 +411,7 @@ export const ChannelPane = React.memo(function ChannelPane({ } showTopBorder={false} /> - {activeChannel && isTerminalOpen ? ( + {activeChannel ? (