-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Pressing enter in non-expanded SearchAnchor.bar
loses focus
#141395
Comments
Hi @parlough |
Hey @huycozy! Thanks for checking in :) If this is the case for Also as far as I can tell, What do you think? |
It does :). There is a PR completed recently for this at #138553 (it's not landed to stable yet) Since this issue is on TextField in general, could you please update the issue to correspond with that? This is more like a proposal so opening a new proposal could also be an option. |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
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 |
Steps to reproduce
SearchAnchor.bar
to your appExpected results
If the user hasn't changed the submission behavior, pressing "Enter" either does nothing or opens up the expanded search view.
Actual results
Focus is lost/reset when pressing Enter.
Code sample
Code sample
Video demonstration
Expand for video
It's a bit hard to show in a video, but in the following video I tab into the search bar, and try clicking "Enter", but then focus is lost. Then I bring focus back to the search bar, type something to open the expanded view, escape, then try clicking "Enter" for the same thing to occur:
SearchBarFocusBeingLost.mov
Flutter version info
Version
The text was updated successfully, but these errors were encountered: