You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EditableText should use a Focus widget instead of managing its own FocusNode #90562
Most widgets utilize a Focus widget in their build method to manage their focus nowadays, but EditableText still keeps track of its own FocusNode. Instead, we should add a Focus widget to EditableTextState's build method, pass the FocusNode into it, and remove the redundant code around managing the FocusNode.
EditableText manually attaches its FocusNode here, when it could be handled by a Focus widget instead.
Here is where InkWell sets up its Focus widget, as an example, even though it also allows a FocusNode to be passed in. All of our Material buttons use InkWell to handle their focus.
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 flutter doctor -v and a minimal reproduction of the issue.
Activity
Move text editing `Action`s to `EditableTextState`
justinmc commentedon Oct 6, 2021
@LongCatIsLooong Assigned you as I believe #90684 will fully fix this.
github-actions commentedon Nov 17, 2021
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
flutter doctor -vand a minimal reproduction of the issue.