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

Pass the transient padding flag to FixedLayer to be in sync with viewport #5900

Merged
merged 2 commits into from Oct 31, 2016

Conversation

dvoytenko
Copy link
Contributor

No description provided.

Copy link
Member

@cramforce cramforce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one comment

@@ -120,9 +123,13 @@ export class FixedLayer {
* Updates the viewer's padding-top position and recalculates offsets of
* all elements.
* @param {number} paddingTop
* @param {boolean} opt_transient
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Document what this means.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@dvoytenko dvoytenko merged commit 1861deb into ampproject:master Oct 31, 2016
@dvoytenko dvoytenko deleted the fixed7 branch October 31, 2016 17:34
lannka pushed a commit that referenced this pull request Oct 31, 2016
…port (#5900)

* Pass the transient padding flag to FixedLayer to be in sync with viewport

* docs
Lith pushed a commit to Lith/amphtml that referenced this pull request Dec 22, 2016
…port (ampproject#5900)

* Pass the transient padding flag to FixedLayer to be in sync with viewport

* docs
Lith pushed a commit to Lith/amphtml that referenced this pull request Dec 22, 2016
…port (ampproject#5900)

* Pass the transient padding flag to FixedLayer to be in sync with viewport

* docs
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.

None yet

4 participants