- From: Bramus via GitHub <noreply@w3.org>
- Date: Thu, 19 Feb 2026 22:30:02 +0000
- To: public-css-archive@w3.org
https://codesandbox.io/p/sandbox/m7zyzc _(forked from a demo by @joshwcomeau)_ nicely demonstrates the problem with the current specced approach. Recording: https://github.com/user-attachments/assets/160a3ac5-ec66-4b20-a404-e337249f9ae6 With the long `animation-duration` used in the demo, the problem becomes very much visible: because the target scroll position gets updated in the target value of the subject, scrolling doesn’t happen immediately but is controlled by the `animation-duration`. --- https://codesandbox.io/p/sandbox/xldyq8 is the adjusted version of that demo, that uses the approach as described above: it updates the position of the `::view-transition` on scroll. The result is that it correctly responds to scroll. Recording: https://github.com/user-attachments/assets/37f32967-ff90-41a8-882d-89b5a7ca2d39 -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10197#issuecomment-3930515935 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 19 February 2026 22:30:03 UTC