-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Re-land keyboard traversal PRs #42278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-land keyboard traversal PRs #42278
Conversation
Codecov Report
@@ Coverage Diff @@
## master #42278 +/- ##
==========================================
- Coverage 60.37% 58.94% -1.44%
==========================================
Files 194 194
Lines 18849 18845 -4
==========================================
- Hits 11381 11109 -272
- Misses 7468 7736 +268
Continue to review full report at Codecov.
|
23bb8dc to
f184aab
Compare
f184aab to
5544db4
Compare
5544db4 to
b06c773
Compare
darrenaustin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot here, but it LGTM.
|
This commit was identified as a potential cause of a benchmark regression. This is tracked in #42564. |
This attempts to reland flutter#40186 and flutter#41220, that were reverted in flutter#41945. The main modifications from the original PRs are that I predefine the shortcuts and actions maps instead of defining them inline in the build function, and I use a new mapEquals to do a deep comparison so that we don't rebuild modified things if the contents of the map haven't changed. I also eliminated an operator== and hashCode that were defined on the Actions widget, since widgets shouldn't have those. (it's too bad though: I get an 85% speedup if we leave this in! Too bad it prevents rebuilding of the children...) Fixes flutter#40101
Description
This attempts to reland #40186 and #41220, that were reverted in #41945.
The main modifications from the original PRs are that I predefine the shortcuts and actions maps instead of defining them inline in the build function, and I use a new
mapEqualsto do a deep comparison so that we don't rebuild modified things if the contents of the map haven't changed.I also eliminated an
operator==andhashCodethat were defined on theActionswidget, since widgets shouldn't have those. (it's too bad though: I get an 85% speedup if we leave this in! Too bad it prevents rebuilding of the children...)Related Issues
#41919
Fixes #40101
Tests
collections.dartfunctionssetEquals,listEquals, and the newmapEquals.Breaking Change