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 popover scroll blocked by timeline wheel handler

Louis Beaumont6cbc2308b62c
diff --git a/apps/screenpipe-app-tauri/components/rewind/timeline/app-context-popover.tsx b/apps/screenpipe-app-tauri/components/rewind/timeline/app-context-popover.tsx
index 8aadc5ff8..fad4b4089 100644
--- a/apps/screenpipe-app-tauri/components/rewind/timeline/app-context-popover.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/timeline/app-context-popover.tsx
@@ -203,9 +203,11 @@ export function AppContextPopover({
left: `clamp(144px, ${anchor.x}px, calc(100vw - 144px))`,
top: `${anchor.y}px`,
transform: "translate(-50%, -100%) translateY(-8px)",
+ maxHeight: `${Math.max(200, anchor.y - 16)}px`,
}}
onClick={(e) => e.stopPropagation()}
onMouseDown={(e) => e.stopPropagation()}
+ onWheel={(e) => e.stopPropagation()}
>
{/* Header */}
<div className="flex items-center justify-between px-3 py-2 border-b border-border">
@@ -232,7 +234,7 @@ export function AppContextPopover({
</div>
{/* Content */}
- <div className="px-3 py-2 space-y-2 max-h-64 overflow-y-auto">
+ <div className="px-3 py-2 space-y-2 overflow-y-auto" style={{ maxHeight: `${Math.max(150, anchor.y - 100)}px` }}>
{/* Time summary */}
{timeRange && (
<div className="flex items-center gap-1.5 text-muted-foreground">