The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 04:30 UTC
fix(web): dragging a sidebar thread no longer scrolls the list out from under the pointer (#30346)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Nov 5, 2026 at 11:38 UTC
37481f044e749a658d94a927b33b268a733f94c5
2 files changed
+8
-1
apps/web/src/components/Sidebar.tsx
+4
@@ -3297,6 +3297,10 @@ export default function Sidebar({ routeReveal }: { routeReveal: SidebarRouteReve
3297
"relative flex flex-col gap-px",
3298
sidebarListItems.length > 0 && "flex-1",
3299
actionSweep !== null && "**:pointer-events-none",
3300
+ // Projected rows (two boundary labels, two hints) extend the scroll range; a range that
3301
+ // shrinks as the target changes clamps scrollTop and flips the target under a still pointer.
3302
+ dragState !== null &&
3303
+ "after:pointer-events-none after:absolute after:inset-x-0 after:-bottom-30 after:h-px after:content-['']",
3304
)}
3305
>
3306
{(() => {
apps/web/src/components/sidebar/SidebarListMarkers.tsx
+4
-1
@@ -56,7 +56,10 @@ export function SidebarSectionPlaceholder(props: {
56
marker={props.marker}
57
data-testid={`sidebar-${props.marker}`}
58
className="relative mx-0.5 -mb-px h-0"
59
- revealOverflow={props.marker === "settled-placeholder" && props.showHint}
59
+ // Revealing on every drag scrolls the list out from under the pointer.
60
+ revealOverflow={
61
+ props.marker === "settled-placeholder" && props.showHint && props.isDropTarget
62
+ }
63
>
64
{props.showHint ? (
65
<div