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

Refactor onResize code to onLayoutMeasure #13228

Merged
merged 1 commit into from
Feb 2, 2018

Conversation

cathyxz
Copy link
Contributor

@cathyxz cathyxz commented Feb 2, 2018

Fixes the same issue as #13224. It turns out that all these onResize hacks are completely unnecessary because we have onLayoutMeasure.

Copy link
Contributor

@aghassemi aghassemi left a comment

Choose a reason for hiding this comment

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

Nice!

@cathyxz cathyxz merged commit ae6673c into ampproject:master Feb 2, 2018
@cathyxz cathyxz deleted the bugfix/onresize-refactor branch February 2, 2018 02:35
RanAbram pushed a commit to RanAbram/amphtml that referenced this pull request Mar 12, 2018
protonate pushed a commit to protonate/amphtml that referenced this pull request Mar 15, 2018
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

4 participants