Skip to content

perf(web): align nested detail motion - #61

Merged
blurbery merged 1 commit into
mainfrom
fix/item-route-motion-scroll-compositing
Aug 28, 2026
Merged

blurbery merged 1 commit into
mainfrom
fix/item-route-motion-scroll-compositing

Conversation

@blurbery

Copy link
Copy Markdown
Owner

What changed

  • match desktop series-to-season and season-to-series navigation to the Home detail slide: 196px, 300ms, and the shared sidebar easing
  • start the motion after the destination route commits, then release the route-sized animation layer so scrolling stays lightweight
  • isolate detail carousel layout and paint work, including the direct episode row used by single-season shows such as Lanterns
  • keep blank episode-carousel space on the normal cursor while preserving pointer cursors on actual cards and controls
  • preserve reduced-motion behavior and the existing fallback for browsers without Web Animations support

Why

Single-season series render their episode carousel directly on the show page. That larger repaint surface made browser-chrome resizing and sidebar-open scrolling less responsive than Home. Nested detail routes also used a small fade/translate instead of the polished Home transition.

Validation

  • 46 focused Vitest tests passed
  • changed-file ESLint passed
  • TypeScript build check passed
  • Prettier and git diff checks passed

@blurbery
blurbery merged commit ea5178f into main Aug 28, 2026
3 checks passed
@blurbery
blurbery deleted the fix/item-route-motion-scroll-compositing branch August 28, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant