Skip to content

Commit

Permalink
fix: Issue: #132
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 committed Mar 22, 2024
1 parent 61cde8a commit 0382b64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/searchfield.dart
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ class _SearchFieldState<T> extends State<SearchField<T>> {
return SizedBox();
} else if (snapshot.data!.isEmpty || widget.showEmpty) {
isEmpty = true;
_totalHeight = 0;
} else {
final paddingHeight = widget.suggestionsDecoration != null
? widget.suggestionsDecoration!.padding.vertical
Expand Down

0 comments on commit 0382b64

Please sign in to comment.