diff options
author | bobzel <zzzman@gmail.com> | 2020-09-01 03:58:41 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-01 03:58:41 -0400 |
commit | a4555fb8d5cd64482dd8431aad03878cb173f688 (patch) | |
tree | 6ba1302ec929e9545adea7201eac057bcf8f14ae /src/client/views/search/SearchBox.tsx | |
parent | 96e12a1d34b617ae7d047fa0215a2eec9ad85a61 (diff) |
fixed following link to a doc that is in a hidden tab to show that tab. fixed linear view to hit content bounds accurately. fixed editing of text in tabs somewhat. fixed place ment of link anchor boxes for topMost views.
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
-rw-r--r-- | src/client/views/search/SearchBox.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index d08cc7f5b..c04b1da10 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -102,7 +102,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc this._curRequest = undefined; this._maxSearchIndex = 0; } - }) + }); enter = action((e: React.KeyboardEvent | undefined) => { if (!e || e.key === "Enter") { @@ -378,7 +378,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc Doc.ClearSearchMatches(); }); close && (this.open = this._searchbarOpen = false); - }) + }); @action.bound closeResults() { @@ -483,7 +483,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc collectionView.props.Document._searchFilterDocs = docsForFilter?.length ? new List<Doc>(docsForFilter) : undefined; collectionView.props.Document._docFilters = docsForFilter?.length && docFilters?.length ? new List<string>(docFilters) : undefined; } - }) + }); render() { const myDashboards = DocListCast(CurrentUserUtils.MyDashboards.data); |