Uh oh!
There was an error while loading. Please reload this page.
go_router should allow setting requestFocus - #4636
Conversation
| /// Whether or not the navigator and it's new topmost route should request focus | ||
| /// when the new route is pushed onto the navigator. | ||
| /// | ||
| /// Defaults to true. |
There was a problem hiding this comment.
maybe add a link to navigator.requestfocus
Uh oh!
There was an error while loading. Please reload this page.
| bool debugLogDiagnostics = false, | ||
| GlobalKey<NavigatorState>? navigatorKey, | ||
| String? restorationScopeId, | ||
| bool? requestFocus, |
There was a problem hiding this comment.
can you add a doc comment in gorouter describe this parameter
There was a problem hiding this comment.
why is this nullable? I think we can default it to true?
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: chunhtai <47866232+chunhtai@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
chunhtai
left a comment
There was a problem hiding this comment.
LGTM, except the doc concern
auto label is removed for flutter/packages/4636, due to - The status or check suite android-platform_tests CHANNEL:master PACKAGE_SHARDING:--shardIndex 2 --shardCount 6 has failed. Please fix the issues identified (or deflake) before re-applying this label.
|
flutter/packages@881c1f5...9b15c2e 2023-08-10 tarrinneal@gmail.com [dynamic_layouts] relax layout test to fix tree (flutter/packages#4677) 2023-08-10 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 2.21.2 to 2.21.3 (flutter/packages#4664) 2023-08-09 jhy03261997@gmail.com go_router should allow setting requestFocus (flutter/packages#4636) 2023-08-09 10687576+bparrishMines@users.noreply.github.com [webview_flutter_android][webview_flutter_wkwebview] Fixes widget rebuild bug caused by key type (flutter/packages#4667) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
fixes: flutter/flutter#129581
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.