authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-09-22 10:36:26-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-22 10:36:26-07:00
log7c2702d68ae2e10fa9d3a08c996ed47c393dcffd
tree3fc9e8cdc78f5030bc40719f59fff64523dcfbcb
parentda6a85b1365993d0ff2a79698cd82498de247d8a
signature Signed by PGP key B5690EEEBB952194

fix(web): read panel animation settings in the composer (#13098)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

1 files changed, 3 insertions(+), 0 deletions(-)

apps/web/src/components/chat/ChatComposer.tsx+3
...@@ -977,6 +977,7 @@ import {...@@ -977,6 +977,7 @@ import {
977} from "@t3tools/client-runtime/providerSkills";977} from "@t3tools/client-runtime/providerSkills";
978import { searchProviderSkills } from "../../providerSkillSearch";978import { searchProviderSkills } from "../../providerSkillSearch";
979import { useMediaQuery } from "../../hooks/useMediaQuery";979import { useMediaQuery } from "../../hooks/useMediaQuery";
980import { usePanelAnimationSettings } from "../../panelAnimations";
980import { useAtomCommand } from "../../state/use-atom-command";981import { useAtomCommand } from "../../state/use-atom-command";
981import { serverEnvironment } from "../../state/server";982import { serverEnvironment } from "../../state/server";
982import type { ReviewCommentContext } from "../../reviewCommentContext";983import type { ReviewCommentContext } from "../../reviewCommentContext";
...@@ -4825,6 +4826,8 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)...@@ -4825,6 +4826,8 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
4825 ) : null}4826 ) : null}
4826 </div>4827 </div>
4827 ) : null;4828 ) : null;
4829 const { active: panelAnimationsActive, durationMs: panelAnimationDurationMs } =
4830 usePanelAnimationSettings();
4828 const composerMainSurfaceRef = useComposerRestingTransition(4831 const composerMainSurfaceRef = useComposerRestingTransition(
4829 composerControlsInStrip,4832 composerControlsInStrip,
4830 isComposerResting,4833 isComposerResting,