-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
fix: 3622 - no autofocus and clean FocusNode management #3716
fix: 3622 - no autofocus and clean FocusNode management #3716
Conversation
This reverts commit ad46236.
# Conflicts: # packages/smooth_app/pubspec.lock # packages/smooth_app/pubspec.yaml
Impacted files: * `edit_new_packagings_component.dart`: applied best practices for `FocusNode` (had to switch to `StatefulWidget` for that) * `Podfile.lock`: wtf * `simple_input_number_field.dart`: removed `autofocus: true` * `simple_input_text_field.dart`: removed `autofocus: true` * `simple_input_widget.dart`: applied best practices for `FocusNode`
Codecov Report
@@ Coverage Diff @@
## develop #3716 +/- ##
===========================================
- Coverage 10.41% 10.40% -0.02%
===========================================
Files 273 273
Lines 13795 13815 +20
===========================================
Hits 1437 1437
- Misses 12358 12378 +20
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Can't say if it will work but looks okay code wise, thanks @monsieurtanuki
Thank you @M123-dev for the review! |
@monsieurtanuki I just got back from a few days off, thank you so much for looking into this! |
Impacted files:
edit_new_packagings_component.dart
: applied best practices forFocusNode
(had to switch toStatefulWidget
for that)Podfile.lock
: wtfsimple_input_number_field.dart
: removedautofocus: true
simple_input_text_field.dart
: removedautofocus: true
simple_input_widget.dart
: applied best practices forFocusNode
What
autofocus: true
parameter for each text field made no sense and probably provoked the referenced issue.autofocus: false
fixed the issue.FocusNode
.Fixes bug(s)