aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-01 17:43:59 -0400
committerbobzel <zzzman@gmail.com>2020-09-01 17:43:59 -0400
commit25d8d43425785038a74acbc9be618b70f48bbba0 (patch)
tree25bd1dde9b13b113a7738a34d6f4dd5aace5e4c6 /src/client/views/search
parent4bdb3b64c476ffdc5b5c53c9c296c50ce68a8fc5 (diff)
fixed search bar getting stuck open. fixed search for fields in full db.
Diffstat (limited to 'src/client/views/search')
-rw-r--r--src/client/views/search/SearchBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index c04b1da10..e6fd64a3c 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -250,7 +250,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc
this._numTotalResults = -1;
this._searchFullDB ? await this.searchDatabase(query) : this.searchCollection(query);
runInAction(() => {
- this._searchbarOpen = true;
+ this.open = this._searchbarOpen = true;
this.resultsScrolled();
});
}