From b3aefae152ebc68a7f8d8720396f3e6ec06c947b Mon Sep 17 00:00:00 2001 From: Wes Date: Thu, 4 Jun 2026 08:49:15 -0700 Subject: [PATCH] fix(desktop): scroll activity panel to bottom on open (#848) Signed-off-by: Wes Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co> --- desktop/src/shared/hooks/useStickToBottom.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop/src/shared/hooks/useStickToBottom.ts b/desktop/src/shared/hooks/useStickToBottom.ts index 849bfd190..09fedbdea 100644 --- a/desktop/src/shared/hooks/useStickToBottom.ts +++ b/desktop/src/shared/hooks/useStickToBottom.ts @@ -27,6 +27,9 @@ export function useStickToBottom() { const el = ref.current; if (!el) return; + // Start at the bottom; the observer below only reacts to later changes. + el.scrollTop = el.scrollHeight; + let rafId: number | null = null; const scrollIfSticky = () => {