flutter_typeahead
flutter_typeahead copied to clipboard
Empty suggestion list render and disappear
When the input textbox is empty, the empty suggestion appears then disappears.
Looks like this is the same issue I'm seeing:
I've found a work around that seems to fix it, add the following to the TypeAheadField constructor call:
loadingBuilder: (context) => null,
I've found a work around that seems to fix it, add the following to the TypeAheadField constructor call:
loadingBuilder: (context) => null,
Thank you, it seems address the issue.
I've found a work around that seems to fix it, add the following to the TypeAheadField constructor call:
loadingBuilder: (context) => null,
This is not working for me... I'm still seeing the same issue when used with hideOnEmpty: true
@jlubeck use keepSuggestionsOnLoading: false
also
@intkhabahmed still happening with keepSuggestionsOnLoading
Btw, strange, I removed this one also and it is not happening anymore
can try with this.
loadingBuilder: (context) => _searchTextController.text.isEmpty ? SizedBox( height: 0, ) : Loading( backgroundColor: Colors.white, ),