From c33942547f7957cfd4df3b5d3be57b7694e0d5d3 Mon Sep 17 00:00:00 2001 From: Nadir Seghir Date: Sat, 28 Nov 2026 16:11:51 +0000 Subject: [PATCH] Animate toast height so the deck doesn't flicker under a resting pointer --- .../ui/src/features/notifications/app-toasts/style.module.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/ui/src/features/notifications/app-toasts/style.module.css b/apps/ui/src/features/notifications/app-toasts/style.module.css index 0c3a3af916..34131d6353 100644 --- a/apps/ui/src/features/notifications/app-toasts/style.module.css +++ b/apps/ui/src/features/notifications/app-toasts/style.module.css @@ -43,8 +43,12 @@ ) ) scale( var( --scale ) ); + /* Height animates with transform: if it snapped ahead, a toast behind the + front one would briefly grow under a resting pointer while collapsing, + re-expanding the deck and looping. */ transition: transform var( --motion-duration-quick ) var( --motion-ease-enter ), + height var( --motion-duration-quick ) var( --motion-ease-enter ), opacity var( --motion-duration-quick ) var( --motion-ease-enter ); }