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

Provide utilities to help components to resolve risk conditions between layout and viewport events #78

Closed
dvoytenko opened this issue Sep 11, 2015 · 0 comments
Assignees
Milestone

Comments

@dvoytenko
Copy link
Contributor

Currently it's left up to the component to resolve states between "layout" and "viewport" events and it's too easy to introduce a risk condition. In an example, amp-anim autoplays GIF when it enters viewport, but it needs to make sure that the image is ready. It's not too hard to implement it fully, but perhaps this can be made simpler.

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

No branches or pull requests

4 participants