The best way to control Claude Code, Codex and more from any computer or phone
fix(web): keep sidebar scroll position when pinning threads (#10757)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Alex Southwell committed
Sep 12, 2026 at 13:16 UTC
38827789c4de97955315b459cb3b0b8207f692d8
2 files changed
+5
-1
apps/web/src/components/ui/sidebar.tsx
+2
-1
@@ -706,8 +706,9 @@ function SidebarContent({
706
className="h-auto min-h-0 flex-1"
707
>
708
<div
709
+ // Reordered rows must not pull the viewport to their new position.
710
className={cn(
710
- "flex w-full min-w-0 flex-col gap-2 group-data-[collapsible=icon]:overflow-hidden",
711
+ "flex w-full min-w-0 flex-col gap-2 [overflow-anchor:none] group-data-[collapsible=icon]:overflow-hidden",
712
className,
713
)}
714
data-sidebar="content"
docs/user/thread-sidebar.md
+3
@@ -29,6 +29,9 @@ the thread opens and the files are attached in its composer, ready for
29
your next message. The same per-message file limits apply as when attaching
30
files directly; see [Attach files](./composer.md#attach-files).
31
32
+On web and desktop, pinning or unpinning a thread keeps the sidebar at your current
33
+scroll position instead of following the thread to its new place in the list.
34
+
35
Pinning does not prevent automatic settlement. Settling a thread removes its pin.
36
37
On web and desktop, drag a thread between sections to change its state. Drag a thread up into