-
Notifications
You must be signed in to change notification settings - Fork 29.5k
[CP] Fix TwoDimensionalViewport's keep alive child not always removed (when no longer should be kept alive) #149639
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
[CP] Fix TwoDimensionalViewport's keep alive child not always removed (when no longer should be kept alive) #149639
Conversation
…n no longer should be kept alive) (flutter#148298) - Fixes a child not removed from `_keepAliveBucket` when widget is no longer kept alive offscreen. Bug was triggering assert in performLayout. - Adds test to cover the case from bug report Fixes flutter#138977
|
@itsjustkevin don't we use a bot for CP's? Maybe this being put up manually is what has made CI unhappy? |
Yes, but the bot doesn't really do anything special, just generates a normal cherry-pick. This seems like an infra flake. |
|
Seems like all checks passed. Is there anything else I can do to help here? |
|
auto label is removed for flutter/flutter/149639, due to This PR has not met approval requirements for merging. The PR author is not a member of flutter-hackers and needs 1 more review(s) in order to merge this PR.
|
|
This is going to need a second reviewer cc @Piinks |
|
@gawi151 this may miss the current release build and make it in the next, but it is still on our radar 🙂. |
Piinks
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ys removed (when no longer should be kept alive) (flutter/flutter#149639)
Cherry pick request of #148298 to stable.
Fixes problems in 2D viewport when using keep alive widgets (affects users using Material Ink components).