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
TextField focus bug when transitioning screen #55938
Comments
I can reproduce it with flutter doctor -v
|
@gspencergoog Is this a dup of #48464 or is this different? |
It appears to be slightly different in that when returning to the previous route, a control that didn't have focus when the route was pushed is being focused. I haven't looked into it closely yet, though. |
I'm experiencing this issue as well. Does anyone know of a possible workaround? |
I cannot reproduce this on latest multiple flutter doctor
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
As you can see the above video, after I moved the focus from the first TextField to the second TextField and then when I clicked on '+' button which directs to the second page, the focus moves back to the first TextField and when I go back to the first page, the first TextField gets focus.
I have no clue why this happened and I tried to solve this but no luck at all. It also happened when popping up a dialog.
Below is the code which has no complicated thing at all. Looks like it's a bug.
main.dart
pubspec.yaml
The text was updated successfully, but these errors were encountered: