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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: search modal click interference from Live Text and wheel handlers
Louis Beaumont0c883819e32c
diff --git a/apps/screenpipe-app-tauri/app/globals.css b/apps/screenpipe-app-tauri/app/globals.cssindex df50c0b32..c051dc8db 100644--- a/apps/screenpipe-app-tauri/app/globals.css+++ b/apps/screenpipe-app-tauri/app/globals.css@@ -254,6 +254,12 @@draggable: false;}+ /* Disable macOS Live Text analysis on search modal thumbnail images.+ Live Text creates invisible interactive overlays that steal click events. */+ [role="dialog"] img {+ -webkit-image-analysis: none;+ }+/* Selectable text layer — override global user-select:none for OCR text overlay.Must override *, :not(input):not(textarea), and ::before/::after rules above. */.selectable-text-layer,diff --git a/apps/screenpipe-app-tauri/components/rewind/search-modal.tsx b/apps/screenpipe-app-tauri/components/rewind/search-modal.tsxindex 7f473732e..7fd7f4130 100644--- a/apps/screenpipe-app-tauri/components/rewind/search-modal.tsx+++ b/apps/screenpipe-app-tauri/components/rewind/search-modal.tsx@@ -254,11 +254,12 @@ const FrameThumbnail = ({ frameId, alt }: { frameId: number; alt: string }) => {src={src}alt={alt}className={cn(- "w-full h-full object-cover transition-opacity pointer-events-none",+ "w-full h-full object-cover transition-opacity select-none",isLoading ? "opacity-0" : "opacity-100")}loading="lazy"draggable={false}+ data-lm-disable="true"onLoad={() => setIsLoading(false)}onError={() => {if (retryCount.current < 3) {@@ -1874,20 +1875,14 @@ export function SearchModal({ isOpen, onClose, onNavigateToTimestamp, embedded =role="dialog"aria-modal="true"className="fixed inset-0 z-50 flex items-start justify-center pt-[10vh] isolate"- onWheel={(e) => {- e.stopPropagation();- e.preventDefault();- }}+ onWheel={(e) => e.stopPropagation()}onTouchMove={(e) => e.stopPropagation()}>{/* Backdrop - captures all pointer events to prevent interaction with timeline */}<divclassName="absolute inset-0 bg-black/60 backdrop-blur-sm"onClick={onClose}- onWheel={(e) => {- e.stopPropagation();- e.preventDefault();- }}+ onWheel={(e) => e.stopPropagation()}onTouchMove={(e) => e.stopPropagation()}/>