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: text selection blocked by clickable URL overlays on URL-heavy pages

Louis Beaumonteb9e65b470c7
diff --git a/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx b/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx
index 330b56905..9df5aa589 100644
--- a/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/current-frame-timeline.tsx
@@ -961,9 +961,11 @@ export const CurrentFrameTimeline: FC<CurrentFrameTimelineProps> = ({
{/* Selectable text layer — rendered as its own layer, NOT inside TextOverlay's
pointer-events:none wrapper. This ensures WebKit allows text selection.
NOTE: intentionally omit !ocrLoading — keep the layer mounted with previous
- positions while new OCR data loads, so text selection isn't interrupted. */}
+ positions while new OCR data loads, so text selection isn't interrupted.
+ z-index 7 puts this ABOVE the TextOverlay (z-index 6) so clickable URL
+ overlays don't intercept drag-to-select on URL-heavy pages (Intercom, etc). */}
{!isLoading && !hasError && renderedImageInfo && textPositions.length > 0 && (
- <div className="absolute" style={{ zIndex: 4, top: 0, left: 0, right: 0, bottom: 0, pointerEvents: "none" }}>
+ <div className="absolute" style={{ zIndex: 7, top: 0, left: 0, right: 0, bottom: 0, pointerEvents: "none" }}>
<div style={{
position: "absolute",
left: renderedImageInfo.offsetX,