Skip to content

add optional args for autofocus and focusNode#42

Open
stevenspiel wants to merge 1 commit into
ianldgs:masterfrom
stevenspiel:search-bar-focus-controls
Open

add optional args for autofocus and focusNode#42
stevenspiel wants to merge 1 commit into
ianldgs:masterfrom
stevenspiel:search-bar-focus-controls

Conversation

@stevenspiel

Copy link
Copy Markdown

Adds configuration to control when the search field focuses. This is particularly helpful if the search is hidden and revealed through an animation.

autofocus defaults to true, so there the default functionality does not change. focusNode defaults to null, which is fine. TextField inline documentation says, "If null, this widget will create its own [FocusNode]."

Adds configuration to control when the search field focuses. This is particularly helpful if the search is hidden and revealed through an animation.

`autofocus` defaults to true, so there the default functionality does not change. `focusNode` defaults to `null`, which is fine. `TextField` inline documentation says, "If null, this widget will create its own [FocusNode]."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant