Commit 2d4c014a authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Add enter/exit motion to the flat modal and page transitions

The three shared bottom-sheet modals (AddToPlaylistModal, SongPicker,
RemixSongPicker) and Layout's mobile More sheet popped in/out
instantly with zero transition. Wired into useMountTransition (same
300ms fade+rise idiom already used by FullPlayer/NowPlayingBar) so
the backdrop fades and the panel slides/rises both ways. The three
modals defer calling their real onClose prop until the exit animation
actually finishes, since the caller still owns whether they exist in
the tree at all and would otherwise unmount them mid-animation.

Also gives every page navigation a subtle fade+rise on mount (Layout
re-mounts per page already, so a plain CSS animation is enough - no
router-level transition machinery needed), and fades EmptyState in
instead of appearing flat.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent bf57f549
Pipeline #1150 failed with stage
in 26 minutes and 59 seconds