Commit adf010cd by Rizal Hermawan

when submitting, does not close the search

parent a050198b
...@@ -263,10 +263,7 @@ class _AnimSearchBarState extends State<AnimSearchBar> ...@@ -263,10 +263,7 @@ class _AnimSearchBarState extends State<AnimSearchBar>
}, },
onSubmitted: (value) => { onSubmitted: (value) => {
widget.onSubmitted(value), widget.onSubmitted(value),
unfocusKeyboard(), unfocusKeyboard()
setState(() {
toggle = 0;
}),
}, },
onEditingComplete: () { onEditingComplete: () {
/// on editing complete the keyboard will be closed and the search bar will be closed /// on editing complete the keyboard will be closed and the search bar will be closed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment