Skip to content

Conversation

@xu-baolin
Copy link
Member

@xu-baolin xu-baolin commented Jun 29, 2022

Reland #83689
Reverted by #83904

Fixes #83668

I change a solution to fix the issue and I am not sure whether this still breaks the G-test.

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Jun 29, 2022
@xu-baolin xu-baolin requested a review from Piinks June 29, 2022 03:49
@xu-baolin
Copy link
Member Author

I know why the original patch breaks tests now, change the key will cause the subtree unmount from the tree and disposal.

@Piinks
Copy link
Contributor

Piinks commented Jun 29, 2022

I know why the original patch breaks tests now, change the key will cause the subtree unmount from the tree and disposal.

Nice catch! I will run this against internal tests and see if it still causes any breaks.

Copy link
Contributor

@Piinks Piinks left a comment

Choose a reason for hiding this comment

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

LGTM - but do not merge. Approval is necessary to run the test suite.

@Piinks Piinks changed the title Reland "fix a Scaffold.bottomSheet update bug" WIP - Reland "fix a Scaffold.bottomSheet update bug" Jun 29, 2022
@Piinks
Copy link
Contributor

Piinks commented Jun 29, 2022

Marked as WIP so the bot will not accidentally merge. :)

@Piinks Piinks changed the title WIP - Reland "fix a Scaffold.bottomSheet update bug" Reland "fix a Scaffold.bottomSheet update bug" Jun 30, 2022
@Piinks
Copy link
Contributor

Piinks commented Jun 30, 2022

Confirmed this no longer breaks internal tests. 🎉

@Piinks Piinks added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 30, 2022
@auto-submit auto-submit bot merged commit e10310d into flutter:master Jun 30, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jul 1, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jul 1, 2022
camsim99 pushed a commit to camsim99/flutter that referenced this pull request Aug 10, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 30, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scaffold.bottomSheet throws a duplicate GlobalKey when being quickly removed/added to the Scaffold

2 participants