Skip to content

Commit 90068a8

Browse files
committed
perf(studio): draw toasts on an opaque surface without backdrop blur
1 parent 8108742 commit 90068a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/studio/src/components/StudioToast.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ export function StudioToast({ message, tone, leaving, onDismiss }: StudioToastPr
4646
}
4747

4848
export function toastSurface(isError: boolean): string {
49-
return `border shadow-popover backdrop-blur-md ${isError ? "border-danger/40 bg-raised" : "border-border bg-raised/95"}`;
49+
// Opaque, no backdrop blur: a blur re-rasters what is behind it every frame of the enter animation.
50+
return `border shadow-popover bg-raised ${isError ? "border-danger/40" : "border-border"}`;
5051
}

0 commit comments

Comments
 (0)