You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(ui): drop the image zoom overlay's backdrop blur #5227
Split from #4348 (item 4: the other blurred surfaces), reviewed in TALE-69.
What it costs now
A zoomable image in markdown opens over a Radix dialog overlay, packages/ui/src/markdown/components/image-zoom.tsx:52 on main 8acb7b8:
its classes are fixed inset-0 z-50 bg-black/80 backdrop-blur-sm, an 8 px blur of the whole page behind 80% black;
without GPU compositing, the frame that opens the image pays for blurring the viewport.
The platform shows this overlay for every image in chat markdown (baseComponents, through IncrementalMarkdown).
Measured on 2026-10-30, on a production build of the docs site, which renders the same component (image-zoom.tsx was then the file it is on main 8acb7b8):
Flow:/platform/admin/api-keys; a click opens the first zoomable image, and Escape closes it.
Per open: the longest Event Timing entry among pointerdown, pointerup, click, mousedown and mouseup, with a 16 ms threshold.
Design: ABBA, as built against a style that sets backdrop-filter: none on this overlay, 40 opens per arm.
Arm
Median
Min–max
Opens over 100 ms
As built
144 ms
104–184 ms
40/40
backdrop-filter: none
72 ms
40–96 ms
0/40
That misses #4348's budget of ≤ 100 ms median per interaction. The cost is paid once per open, and behind 80% black the blur barely shows.
What to do
Drop backdrop-blur-sm from the overlay and keep bg-black/80. The dim already sets the image apart from the page, as 3019f2c did for the search palette's overlay.
Done means:
the open overlay computes backdrop-filter: none, held by a browser test;
opening a zoomed image stays within ≤ 100 ms median and ≤ 200 ms max on the same harness, ABBA against the change's base;
the overlay still dims the page, and the dialog's focus, title, Escape and click-to-close behave as before.
Done on the feature line: feature train #5297 landed on release/0.6 by rebase at 2026-11-02 09:37:43 UTC. This issue's change is commit 8d1ef696cd54dc79ff50dcacd557ce20059fc0b0 (perf(ui): drop the image zoom overlay's backdrop blur) on release/0.6, and it ships with Tale 0.6.0. GitHub closes issues itself only for commits that reach main, so the feature-train role closes this one now. Board task: TALE-311.
Activity
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
tale-code-bot commentedon Nov 2, 2026
Done on the feature line: feature train #5297 landed on
release/0.6by rebase at 2026-11-02 09:37:43 UTC. This issue's change is commit8d1ef696cd54dc79ff50dcacd557ce20059fc0b0(perf(ui): drop the image zoom overlay's backdrop blur) onrelease/0.6, and it ships with Tale 0.6.0. GitHub closes issues itself only for commits that reachmain, so the feature-train role closes this one now. Board task: TALE-311.perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur
perf(ui): drop the image zoom overlay's backdrop blur