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

Instruct Resources manager to remeasure/layout/unload for mutated subtrees. #1406

Merged
merged 1 commit into from
Jan 14, 2016

Conversation

dvoytenko
Copy link
Contributor

@cramforce PTAL. Tests in progress.

*/
setRelayoutTop_(relayoutTop) {
if (this.relayoutTop_ == -1) {
this.relayoutTop_ = relayoutTop;
Copy link
Member

Choose a reason for hiding this comment

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

Where is this read?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The "pass" remeasures all elements under this one. This is what we use for height changes to update siblings.

@cramforce
Copy link
Member

Looks fine

@dvoytenko dvoytenko force-pushed the access17 branch 2 times, most recently from 9a8a5a7 to f2fb23f Compare January 14, 2016 19:31
@dvoytenko dvoytenko changed the title [POC] Instruct Resources manager to remeasure/layout/unload hidden/shown elements. Instruct Resources manager to remeasure/layout/unload for mutated subtrees. Jan 14, 2016
@dvoytenko
Copy link
Contributor Author

@cramforce implementation and tests have been completed. PTAL.

@cramforce
Copy link
Member

LGTM

dvoytenko added a commit that referenced this pull request Jan 14, 2016
Instruct Resources manager to remeasure/layout/unload for mutated subtrees.
@dvoytenko dvoytenko merged commit 4ac8b67 into ampproject:master Jan 14, 2016
@dvoytenko dvoytenko deleted the access17 branch January 14, 2016 23:58
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.

2 participants