Repository navigation
fix(motion): blurred album backdrop no longer covers the sidebars during transitions (#289) - #324
Merged
Merged
Conversation
…ars during transitions (#289) The album and search pages draw a full-window blurred backdrop (position: fixed, behind the content). <main> is its own view-transition layer (app-main), and its snapshot includes fixed descendants, so for the whole transition that backdrop painted over the sidebars on desktop. Most visible going from Now Playing's song title to the album page. Clip the app-main group to <main>'s box. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LAQj7kfXYU9jy1L9ByWw8r
…op (#289) view-transition-name on <main> (app-main) makes it a stacking context all the time, not only during transitions. The album and search pages' fixed, negative-z backdrop then paints as part of <main>'s layer, above the non-positioned, translucent left sidebar, so the sidebar sat under the backdrop's gradient. Put both sidebars on their own layer above <main>, which restores the pre-#320 stacking. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LAQj7kfXYU9jy1L9ByWw8r
This was referenced Oct 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
On desktop, going from Now Playing's song title to the album page blurred the sidebars with the album art backdrop until the transition finished.
Why
The album and search pages draw a full-window blurred backdrop (
position: fixed, behind the content).<main>is its own view-transition layer (app-main), and its snapshot includes fixed-position descendants. That snapshot is painted above the rest of the page, so the backdrop covered the sidebars for the length of the transition.Fix
::view-transition-group(app-main) { overflow: clip; }clips the snapshot to<main>'s box. This only applies during transitions, so the live page doesn't change.Also fixed (00c0fe1)
The real cause of the visible bug:
view-transition-nameon<main>makes it a stacking context permanently, so the album/search pages' fixed backdrop painted over the translucent left sidebar even with no transition running. Both sidebars are nowrelative z-[1]. Juan confirmed on prod. Follow-ups: #325, #326.Verified
<main>+ fixed backdrop, screenshot mid-transition). Without the clip, the backdrop tints the sidebar. With it, the sidebar stays clean.🤖 Generated with Claude Code
https://claude.ai/code/session_01LAQj7kfXYU9jy1L9ByWw8r