diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 7008dbe590..337e1e027d 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -1426,7 +1426,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction @@ -1696,7 +1696,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction - + {onJumpToPreviousCheckpoint && ( + + + + )} setMoreOpen(open)} data-testid="more-popover"> diff --git a/webview-ui/src/hooks/useScrollLifecycle.ts b/webview-ui/src/hooks/useScrollLifecycle.ts index 8a560f15f9..4f1555d193 100644 --- a/webview-ui/src/hooks/useScrollLifecycle.ts +++ b/webview-ui/src/hooks/useScrollLifecycle.ts @@ -25,7 +25,12 @@ const HYDRATION_RETRY_WINDOW_MS = 160 export type ScrollPhase = "HYDRATING_PINNED_TO_BOTTOM" | "ANCHORED_FOLLOWING" | "USER_BROWSING_HISTORY" -export type ScrollFollowDisengageSource = "wheel-up" | "row-expansion" | "keyboard-nav-up" | "pointer-scroll-up" +export type ScrollFollowDisengageSource = + | "wheel-up" + | "row-expansion" + | "keyboard-nav-up" + | "pointer-scroll-up" + | "checkpoint-nav" // --------------------------------------------------------------------------- // Helpers