Re: [csswg-drafts] [scroll-animations-1] View progress contain of a sticky positioned elements on the edges (#8298)

I think there might be a need to be able to switch between those two ways the view progress is calculated for the sticky elements. Otherwise, it feels that there is no way to achieve the behavior that could be seen before:

https://codepen.io/kizu/pen/RweORjO — here I would want the sticky elements to have the same exact animation as non-sticky ones — change when they come closer to the top of the viewport. This did work as I did expect in Chrome Canary before the version 116.0.5793.0 in which the behavior did change according to this issue.

Am I missing something, and there is a way to achieve this after this change?

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


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

Received on Friday, 26 May 2023 22:39:10 UTC