Files
outline/app/components
Tom MoorandClaude 74a992e278 fix: Lightbox flickers at the end of the close animation (#13730)
Since the move to a concurrent React root the state update dispatched from
animationend renders at default priority, and the passive effect that
unmounts the lightbox runs in a later task. The browser can paint the
intermediate commit, where the finished close animations have snapped back
to their resting styles and the inline image has already been restored, so
the lightbox briefly reappears fully open before disappearing.

Keep the final keyframe of every closing animation with fill-mode forwards
and keep the inline image hidden until the lightbox unmounts, so any frame
painted between the animation ending and the teardown looks identical to the
finished close.

closes #13728


Claude-Session: https://claude.ai/code/session_01T4Pkj5VNWWu22pV113qqKS

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-12 23:23:57 -04:00
..
2026-07-28 08:47:09 -04:00
2026-09-03 01:43:47 -04:00
2026-07-28 08:47:09 -04:00
2026-09-03 01:43:47 -04:00
2026-09-03 01:43:47 -04:00
2026-07-19 16:18:02 -04:00
2026-09-03 01:43:47 -04:00
2026-09-03 01:43:47 -04:00
2023-02-25 12:03:05 -08:00
2026-07-28 08:47:09 -04:00
2026-09-03 01:43:47 -04:00
2024-11-02 10:58:03 -07:00
2025-03-15 15:06:12 -07:00
2026-04-18 15:12:57 -04:00
2026-07-10 12:35:21 +02:00
2026-09-02 20:31:37 -04:00
2026-09-03 01:43:47 -04:00
2026-09-03 01:43:47 -04:00
2026-09-03 01:43:47 -04:00
2026-07-12 07:10:28 -04:00