Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
4inka committed Jun 23, 2022
1 parent 8bb8c5b commit 4e3e1e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/easy_autocomplete.dart
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ class _EasyAutocompleteState extends State<EasyAutocomplete> {
void closeOverlay() {
if (_hasOpenedOverlay) {
_overlayEntry!.remove();
setState(() => _hasOpenedOverlay = false);
setState(() {
_previousAsyncSearchText = '';
_hasOpenedOverlay = false;
});
}
}

Expand Down

0 comments on commit 4e3e1e8

Please sign in to comment.