diff options
| author | bobzel <zzzman@gmail.com> | 2021-12-08 22:48:46 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-12-08 22:48:46 -0500 |
| commit | f8ce34c8ed42646691d1e392effe79bc27daf810 (patch) | |
| tree | 7543c635f5c27fd73bb0a4d8f1be6a5119cfbcd9 /src/client/views/collections/CollectionStackingView.tsx | |
| parent | f1d0a1f3849971be805924915a4ace7fecc55bda (diff) | |
Added auto scroll to bottom of map info view stack when note is added. hide resize handles for map view info window stack documents.
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index eddb97878..cdc680a08 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -178,6 +178,10 @@ export class CollectionStackingView extends CollectionSubView<StackingDocument, return this.props.addDocTab(doc, where); } + scrollToBottom = () => { + smoothScroll(500, this._mainCont!, this._mainCont!.scrollHeight); + } + focusDocument = (doc: Doc, options?: DocFocusOptions) => { Doc.BrushDoc(doc); @@ -244,6 +248,7 @@ export class CollectionStackingView extends CollectionSubView<StackingDocument, focus={this.focusDocument} docFilters={this.childDocFilters} hideDecorationTitle={this.props.childHideDecorationTitle?.()} + hideResizeHandles={this.props.childHideResizeHandles?.()} hideTitle={this.props.childHideTitle?.()} docRangeFilters={this.childDocRangeFilters} searchFilterDocs={this.searchFilterDocs} |
