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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Update contentHeight algorithms #20035

Merged
merged 6 commits into from Jan 12, 2019

Conversation

jridgewell
Copy link
Contributor

We'll now take into account the scrolling element's margins. We're also changing iOS to use the wrapper element, since the body may not have size defined.

Fixes #13343
Fixes #19941

@jridgewell jridgewell merged commit c139a50 into ampproject:master Jan 12, 2019
@jridgewell jridgewell deleted the content-height branch January 12, 2019 01:41
@jridgewell jridgewell added this to To do in Make Malte, Dima, Justin Happy via automation Feb 23, 2019
@jridgewell jridgewell moved this from To do to Done in Make Malte, Dima, Justin Happy Feb 23, 2019
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
* Update contentHeight algorithms

* Use getBoundingClientRect.height

* Fix tests

* comment

* Fix presubmit errors

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

5 participants