Skip to content

fix a Scaffold extendBodyBehindAppBar update bug - #104958

Merged
fluttergithubbot merged 2 commits into
flutter:masterfrom
xu-baolin:xbl00053001
Jun 16, 2022
Merged

fluttergithubbot merged 2 commits into
flutter:masterfrom
xu-baolin:xbl00053001

Conversation

@xu-baolin

@xu-baolin xu-baolin commented May 30, 2022 •

Copy link
Copy Markdown
Member

Fixes #103741
Blocked by #104954
Blocked by #104998

Insert or remove a widget middle of the tree will cause all of the sub-tree to be detached and cause the body sub-tree to lose its state.
Two solutions,
1, Use a Global key
2, Keep the tree structure during configurations change

But I think the Global key is expensive.

@flutter-dashboard flutter-dashboard Bot added p: material_ui material_ui package in flutter/packages framework flutter/packages/flutter repository. See also f: labels. labels May 30, 2022

@LongCatIsLooong LongCatIsLooong left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@xu-baolin
xu-baolin requested a review from LongCatIsLooong June 9, 2022 01:29
@xu-baolin

Copy link
Copy Markdown
Member Author

Hi, @LongCatIsLooong, could you review this again? thx.

@fluttergithubbot
fluttergithubbot merged commit ea28f28 into flutter:master Jun 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jun 16, 2022
xu-baolin added a commit that referenced this pull request Jun 22, 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

framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PageView not rendering page correctly with conditional extendBodyBehindAppBar

3 participants