Skip to content

Update TabBar indicator painter when tab controller changes - #14825

Merged
HansMuller merged 1 commit into
flutter:masterfrom
HansMuller:tabbar_indicator_bug
Feb 22, 2018
Merged

HansMuller merged 1 commit into
flutter:masterfrom
HansMuller:tabbar_indicator_bug

Conversation

@HansMuller

@HansMuller HansMuller commented Feb 22, 2018 •

Copy link
Copy Markdown
Contributor

The source of the problem was _TabBarState.didUpdateWidget(). If the tab controller changes the indicator painter must be unconditionally rebuilt, so that it's listening to the new controller.

Fixes #14812

@jason-simmons

Copy link
Copy Markdown
Contributor

LGTM

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

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

@HansMuller
HansMuller merged commit 3ea4d06 into flutter:master Feb 22, 2018
DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Selected tab indicator sometimes isn't updated

5 participants