The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 14:30 UTC
fix(web): prevent image thumbnails from warping during repaints (#26308)
Yash Singh committed
Oct 28, 2026 at 00:23 UTC
afc233492d8322ee61ce3f210af4aa3cf89c2cc6
2 files changed
+4
-2
apps/web/src/components/chat/GuestMessageAttachments.tsx
+2
-1
@@ -43,13 +43,14 @@ export function GuestMessageAttachments(props: {
43
aria-label={`Preview ${image.name}`}
44
onClick={() => props.onOpenImage(image)}
45
>
46
+ {/* Isolate the thumbnail raster from nearby activity repaints in Chromium. */}
47
<AttachmentImage
48
name={image.name}
49
mimeType={image.mimeType}
50
src={src}
51
alt={image.name}
52
decoding="async"
52
- className="block size-full object-cover"
53
+ className="block size-full transform-gpu object-cover"
54
/>
55
</button>
56
) : (
apps/web/src/components/chat/TimelineUserMessageRow.tsx
+2
-1
@@ -524,6 +524,7 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"
524
ctx.onImageExpand(preview);
525
}}
526
>
527
+ {/* Isolate the thumbnail raster from nearby activity repaints in Chromium. */}
528
<AttachmentImage
529
name={image.name}
530
mimeType={image.mimeType}
@@ -531,7 +532,7 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"
532
alt={image.name}
533
decoding="async"
534
loading="lazy"
534
- className="block size-full object-cover"
535
+ className="block size-full transform-gpu object-cover"
536
/>
537
</button>
538
) : (