You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
distance is the current scroll offset minus the scroll offset corresponding to the start of the cover range
range is the scroll offset corresponding to the start of the cover range minus the scroll offset corresponding to the end of the cover range
So I could be wrong here, but seems to me that instead of using cover for defining distance and range, it should be something like the "effective range" start/end including start/end inset, for the corresponding start/end definitions above.
A view timeline can have many animations using it. We can't derive the range for the timeline from the ranges on the individual animations which may differ and change as animations start/stop.
In Calculating Progress for a View Progress Timeline the spec says:
So I could be wrong here, but seems to me that instead of using
cover
for defining distance and range, it should be something like the "effective range" start/end including start/end inset, for the corresponding start/end definitions above.Perhaps that "effective range" can be the attachment range?
FYI @fantasai @flackr
The text was updated successfully, but these errors were encountered: