Skip to content

Fix TabBar crash with SliverAppBar - #154485

Merged
auto-submit[bot] merged 4 commits into
flutter:masterfrom
hgraceb:tabs
Sep 8, 2024
Merged

Fix TabBar crash with SliverAppBar#154485
auto-submit[bot] merged 4 commits into
flutter:masterfrom
hgraceb:tabs

Conversation

@hgraceb

Copy link
Copy Markdown
Member

Fixes#154484

Similar to #104998. Cause with updated at different phases of the same frame.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@github-actionsgithub-actionsBot added framework flutter/packages/flutter repository. See also f: labels. p: material_ui material_ui package in flutter/packages labels Sep 1, 2024
@hgracebhgraceb changed the title Fix tabs crash with SliverAppBarFix TabBar crash with SliverAppBarSep 1, 2024
@github-actionsgithub-actionsBot added the a: text input Entering text in a text field or keyboard related problems label Sep 1, 2024

@nate-thegratenate-thegrate 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, with 1 suggestion.

Thanks for fixing this!

Comment threadpackages/flutter/lib/src/widgets/editable_text.dart
Comment threadpackages/flutter/lib/src/material/tabs.dart
Comment threadpackages/flutter/test/material/tabs_test.dart

@nate-thegratenate-thegrate 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.

It looks like the _TabBarState structure has some room for improvement, but that's outside the scope of this PR.

LGTM, thanks for the high-quality contribution!

Comment threadpackages/flutter/lib/src/material/tabs.dart
Comment threadpackages/flutter/test/material/tabs_test.dart Outdated
Comment threadpackages/flutter/test/material/tabs_test.dart
@hgraceb
hgracebforce-pushed the tabs branch 2 times, most recently from bf7dd61 to ffbd717CompareSeptember 5, 2024 17:06
Comment threadpackages/flutter/test/material/tabs_test.dart Outdated

@TahaTesserTahaTesser 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

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 9, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 10, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 12, 2024
@nate-thegratenate-thegrate mentioned this pull request Nov 5, 2024
9 tasks
@nate-thegratenate-thegrate mentioned this pull request Dec 4, 2024
9 tasks
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 12, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: text inputEntering text in a text field or keyboard related problemsautosubmitMerge PR when tree becomes green via auto submit Appframeworkflutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TabBar crash with SliverAppBar

3 participants

@hgraceb@nate-thegrate@TahaTesser