Re: [csswg-drafts] [scroll-animations-1] Should range of ViewTimeline be clamped to scrollable range? (#7432)

I think what you've proposed (the starting at the element's current offset) is reasonable and arguably simpler to work with. There are many cases where clamping to the scroll range is unintuitive and so I'm good with not clamping being the default.

The parallax header example is a case where without clamping it's much more complex for the developer - i.e. the user will never see the full range specified in the animation. If you look at the [unclamped](https://flackr.github.io/scroll-timeline/demo/parallax/unclamped.html) version of my above linked demo you can see how the parallax header starts shifted down since it's already scrolled almost all the way through the view.

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


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

Received on Monday, 11 July 2022 21:04:08 UTC