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

Set inViewport before scheduling layout #3952

Merged

Conversation

jridgewell
Copy link
Contributor

Fixes #3911.

Now the scrolled-into-view <amp-instagram> will be scheduled to layout in the first pass after scrolling into view (~10ms, which is just execution time, no idle waiting).

Fixes ampproject#3911.

Now the scrolled-into-view `<amp-instagram>` will be scheduled to
layout in the first pass after scrolling into view (~10ms, which is
just execution time, no idle waiting).
@cramforce
Copy link
Member

LGTM

Lets merge, but would be good to add a test.

@dvoytenko
Copy link
Contributor

LGTM

@jridgewell jridgewell merged commit 648ee6a into ampproject:master Jul 8, 2016
ariangibson pushed a commit to Mixpo/amphtml that referenced this pull request Sep 7, 2016
Fixes ampproject#3911.

Now the scrolled-into-view `<amp-instagram>` will be scheduled to
layout in the first pass after scrolling into view (~10ms, which is
just execution time, no idle waiting).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants