Remove focus from search form after executed
This commit is contained in:
parent
968b3415d2
commit
cd75f5bdf1
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ class _SearchFormState extends State<SearchForm> {
|
|||
builder: (context) =>
|
||||
SearchPage(query: searchQuery)));
|
||||
searchController.clear();
|
||||
FocusScope.of(context).requestFocus(FocusNode());
|
||||
},
|
||||
child: const Text('Search'),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue