@@ -4821,11 +4826,15 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
) : null}
) : null;
+ const { active: panelAnimationsActive, durationMs: panelAnimationDurationMs } =
+ usePanelAnimationSettings();
const composerMainSurfaceRef = useComposerRestingTransition(
composerControlsInStrip,
isComposerResting,
restingComposerControlsRef,
onComposerOverlayHeightChange,
+ panelAnimationsActive,
+ panelAnimationDurationMs,
);
const canTrackComposerScrollGesture =
routeKind === "server" && activeThreadId !== null && !isMobileViewport;
@@ -6560,10 +6569,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
}
/>
-
+
Draft attachment could not be saved locally and may be lost on
navigation.
@@ -6595,12 +6601,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
>
-
- {upload.reason}
-
+ {upload.reason}
)}