The best way to control Claude Code, Codex and more from any computer or phone
fix(web): maximize button no longer jumps when the right panel closes (#26232)
Co-authored-by: maria-rcks <maria@kuuro.net>
Claudesaul committed
Oct 31, 2026 at 22:34 UTC
6525e4cb59e7582c7109e99bcaea60b0a6e53859
1 file changed
+3
-1
apps/web/src/components/chat/PanelLayoutControls.tsx
+3
-1
@@ -190,9 +190,11 @@ export function WorkspaceTitlebarControls(props: {
190
{props.showMaximizeControl ? (
191
<span
192
aria-hidden={!props.rightPanelOpen}
193
+ // Fading out on close would show it beside the thread details toggle that replaces it.
194
className={cn(
195
"flex shrink-0",
195
- props.animationsActive &&
196
+ props.rightPanelOpen &&
197
+ props.animationsActive &&
198
"motion-safe:transition-opacity motion-safe:duration-(--panel-animation-duration) motion-safe:ease-out",
199
props.rightPanelOpen
200
? "pointer-events-auto opacity-100"