Skip to content

Conversation

@asgerb
Copy link

@asgerb asgerb commented Jun 30, 2025

Fixes #2 by clamping the animation progress in the currentTime getter to the [0, 1] range. This prevents the animation from exceeding its intended bounds and ensures a smooth, predictable experience even during overscroll.

This is a change to scroll-timeline though, so preferably should be done upstream, but it seems that project has been abandoned? This bug also seems quite fundamental and I would expect it to have been caught already, is there a reason it perhaps hasn't – are there unexpected side-effects from solving the issue this way...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reset/flicker on rubber band/overscroll caused by unclamped animation progress

1 participant