Skip to content

Conversation

@Hixie
Copy link
Contributor

@Hixie Hixie commented Nov 9, 2019

Fixes #39151.

Fundamentally the problem was that in certain situations, we would change a RenderObject's idea of what the repaint boundary was, but we would forget to tell children that the repaint boundary had also changed, and so when they went and verified that their repaint boundary was still correct, they found the tree was inconsistent.

cc @goderbauer @ditman

@fluttergithubbot fluttergithubbot added the framework flutter/packages/flutter repository. See also f: labels. label Nov 9, 2019
@ditman
Copy link
Member

ditman commented Nov 9, 2019

LGTM, but I don't know enough about relayoutBoundaries or the ramifications of the change. Thanks for fixing this! I think that this is also going to fix an issue on Flutter for web, when the app starts rendered in a hidden iframe and then it gets shown! 🎉

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

Choose a reason for hiding this comment

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

nit: the predominant style in the repository for this is:

Suggested change
// originally reported as https://github.com/flutter/flutter/issues/39151
// Regression test for https://github.com/flutter/flutter/issues/39151.

@Hixie
Copy link
Contributor Author

Hixie commented Nov 12, 2019

Updated; will land on green.

@Hixie Hixie merged commit 96fbbdc into flutter:master Nov 14, 2019
@Hixie Hixie deleted the relayoutboundary branch November 14, 2019 21:20
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LayoutBuilder can't (re)layout multiple children when inside a 0x0 SizedBox

5 participants