Remove focus from search form after executed

This commit is contained in:
Moe Poi ~ 2022-05-21 23:26:10 +07:00
parent 968b3415d2
commit cd75f5bdf1

View file

@ -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'),
),