Re: [csswg-drafts] [css-view-transitions-1] Clarify implications of scrolling during a transition (#10197)

Yes. In order to have the best visual effect it should track the scroll offsets of all ancestor scrollers of the element (in the new state).

Quick fork of Vlad’s demo that does this: https://codepen.io/bramus/pen/VYKZxpy/dbc3f168b9d4b96df1aba216ed70998c

- When you hit the “Toggle Inside” button, you can scroll both the inner and outer (`document`) scroller, with the dot updating accordingly.
- When you hit the “Toggle Outside” button, only the root scroller affects things, as the dot is no longer contained within `#scroller`.
- When you hit the “Toggle Outside” button again, both scrollers affect the position of the dot again, as the dot is now a child of the `#scroller` again.

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


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

Received on Monday, 23 February 2026 11:05:46 UTC