From 7c2702d68ae2e10fa9d3a08c996ed47c393dcffd Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 22 Sep 2026 10:36:26 -0700 Subject: [PATCH] fix(web): read panel animation settings in the composer (#13098) Co-authored-by: Claude Fable 5 --- apps/web/src/components/chat/ChatComposer.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/web/src/components/chat/ChatComposer.tsx b/apps/web/src/components/chat/ChatComposer.tsx index 28c59ecf90ea7fd015131a17cbbad2e562de0a7b..f1de1f81434e114bee464fc6b275ebecd91dd45c 100644 --- a/apps/web/src/components/chat/ChatComposer.tsx +++ b/apps/web/src/components/chat/ChatComposer.tsx @@ -977,6 +977,7 @@ import { } from "@t3tools/client-runtime/providerSkills"; import { searchProviderSkills } from "../../providerSkillSearch"; import { useMediaQuery } from "../../hooks/useMediaQuery"; +import { usePanelAnimationSettings } from "../../panelAnimations"; import { useAtomCommand } from "../../state/use-atom-command"; import { serverEnvironment } from "../../state/server"; import type { ReviewCommentContext } from "../../reviewCommentContext"; @@ -4825,6 +4826,8 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps) ) : null} ) : null; + const { active: panelAnimationsActive, durationMs: panelAnimationDurationMs } = + usePanelAnimationSettings(); const composerMainSurfaceRef = useComposerRestingTransition( composerControlsInStrip, isComposerResting, -- 2.54.0