Re: [csswg-drafts] [css-view-transitions-2] View transitions on an infinite scroller with continuous scrolling. (#9455)

+1 to this use case.  It's especially relevant when skeleton loaders are initially shown, the user is scrolling, and additional content is added asynchronously while the user is actively scrolling.

Scoped transitions seem like the right solution here, as long as they can be anchored to the scrollable surfaces and not the viewport.

I'm not familiar with the implementation logistics of scoped transitions, but I would imagine this should work similar to traditional FLIP web animations where the previous state is snapshotted, the updated state is rendered, then the animations computed.  Ideally they're just composited layers but that can't be guaranteed with the customizations allowed by the VT API.

-- 
GitHub Notification of comment by nickcoury
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9455#issuecomment-1756315578 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 10 October 2023 21:48:01 UTC