Skip to content

[flutter] tab navigation does not notify the focus scope node - #86141

Merged
fluttergithubbot merged 1 commit into
flutter:masterfrom
jonahwilliams:change_no_click_listener
Jul 9, 2021
Merged

fluttergithubbot merged 1 commit into
flutter:masterfrom
jonahwilliams:change_no_click_listener

Conversation

@jonahwilliams

Copy link
Copy Markdown
Contributor

Discovered while working on #86041, it seems like tab navigation does not cause a notifaction on the focus scope node, which means that the cached focus node is out of date.

I'm not sure if this is intentional or not, but since we don't actually need the listener I can work around it here. Attached test case fails without this change.

@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 Jul 9, 2021
@google-cla google-cla Bot added the cla: yes label Jul 9, 2021
@jonahwilliams
jonahwilliams requested a review from chunhtai July 9, 2021 01:22
@jonahwilliams

Copy link
Copy Markdown
Contributor Author

this is not a bug, but a side effect of removing focus during clicks. I can fix that separately by doing the removal elsewhere.

@gspencergoog gspencergoog 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.

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

@fluttergithubbot
fluttergithubbot merged commit 6d8c850 into flutter:master Jul 9, 2021
@jonahwilliams
jonahwilliams deleted the change_no_click_listener branch July 9, 2021 19:06
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.

3 participants