Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 amp-animation scrolltimeline: bug fixes #20915

Merged
merged 6 commits into from
Feb 25, 2019

Conversation

aghassemi
Copy link
Contributor

@aghassemi aghassemi commented Feb 19, 2019

This PR
Mostly bug fixes by utilizing the existing calculations done in amp-position-observer and using the new start/endScrollOffset properties of ScrollTimeline.

Remaining known bugs

  • last keyframe does not stick after timeline finishes despite fill:both present on ScrollTimeline. Following up with Chrome folks.
  • Viewport height change behaves differently in worklet vs non-worklet case.

Code diff is +130 −130 Adding exactly 0 value :)

@aghassemi
Copy link
Contributor Author

@zhouyx done. PTAL (merge blocked)

@zhouyx
Copy link
Contributor

zhouyx commented Feb 25, 2019

Sorry for the delay. was concerned about viewportData being null, #20915 (comment). I missed that you check for opt_positionObserverData before initiating ScrollTimelineWorkletRunner. Everything LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants