Closed otto-dev closed 1 year ago
Fixes #190, maybe other issues.
Calling requestFocus(FocusNode()) leads to errors on e.g. the next call to FocusScope.of(context).requestFocus(_passwordFocusNode), because the FocusNode used for the hack is not attached to any context.
requestFocus(FocusNode())
FocusScope.of(context).requestFocus(_passwordFocusNode)
FocusNode
context
Thank you for your contribution!
Fixes #190, maybe other issues.
Calling
requestFocus(FocusNode())
leads to errors on e.g. the next call toFocusScope.of(context).requestFocus(_passwordFocusNode)
, because theFocusNode
used for the hack is not attached to anycontext
.