diff --git a/apps/web/src/components/chat/MessagesTimeline.tsx b/apps/web/src/components/chat/MessagesTimeline.tsx
index 27e41b7db0..c829b08699 100644
--- a/apps/web/src/components/chat/MessagesTimeline.tsx
+++ b/apps/web/src/components/chat/MessagesTimeline.tsx
@@ -442,7 +442,12 @@ export const MessagesTimeline = memo(function MessagesTimeline({
rowTop < scrollBottom &&
rowTop + Math.max(1, rowHeight ?? 1) > scrollTop;
- strip.dataset.inView = inView ? "true" : "false";
+ // Skip no-op attribute writes: this runs for every strip on every scroll
+ // tick, and rewriting an unchanged attribute still dirties style state.
+ const next = inView ? "true" : "false";
+ if (strip.dataset.inView !== next) {
+ strip.dataset.inView = next;
+ }
}
}, [listRef, minimapItems, minimapStripMap, onIsAtEndChange]);
@@ -842,17 +847,25 @@ function TimelineMinimap({
const activeDistance =
resolvedActiveIndex === null ? null : Math.abs(index - resolvedActiveIndex);
return (
+ // Compositor-friendly on purpose: in-view state and the hover
+ // fisheye animate constantly (every scroll tick and streaming
+ // update flips a band of strips), so the strip animates only
+ // transform and opacity. Width tiers are a scale-x on a fixed
+ // w-6 box, and the in-view highlight is an opacity-faded bright
+ // overlay — never background-color or width, which would force
+ // main-thread style/layout/paint at 60fps for each transition.
+ >
+
+
);
})}
{activeItem ? (