Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(timeline): prevent auto-select effect from causing double-jump

Louis Beaumont1b85e7791e49
diff --git a/screenpipe-app-tauri/components/rewind/timeline.tsx b/screenpipe-app-tauri/components/rewind/timeline.tsx
index 4810b5445..fcd5d89a5 100644
--- a/screenpipe-app-tauri/components/rewind/timeline.tsx
+++ b/screenpipe-app-tauri/components/rewind/timeline.tsx
@@ -240,7 +240,11 @@ export default function Timeline() {
// Auto-select first frame when frames arrive and no frame is selected
+ // Skip during intentional navigation (day change) to prevent double-jump
useEffect(() => {
+ if (isNavigatingRef.current) {
+ return; // Don't auto-select during navigation
+ }
if (!currentFrame && frames.length > 0) {
setCurrentFrame(frames[0]);
setCurrentIndex(0);