diff options
| author | bobzel <zzzman@gmail.com> | 2021-04-05 12:22:20 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-04-05 12:22:20 -0400 |
| commit | b8ffb911300ea8b7bf589bcafd15e84a8f7f4db9 (patch) | |
| tree | b359af8daaf7c53a3a5ba76cede0b9fcc1d856ac /src/client/views/collections/CollectionStackingView.tsx | |
| parent | ee17752109ba1238d645a4df7cee1cf60855f8df (diff) | |
added autoHeight for tree views.
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionStackingView.tsx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx index cc5a41c72..8d8c69fd5 100644 --- a/src/client/views/collections/CollectionStackingView.tsx +++ b/src/client/views/collections/CollectionStackingView.tsx @@ -23,7 +23,6 @@ import { EditableView } from "../EditableView"; import { LightboxView } from "../LightboxView"; import { CollectionFreeFormDocumentView } from "../nodes/CollectionFreeFormDocumentView"; import { DocFocusOptions, DocumentView, DocumentViewProps, ViewAdjustment } from "../nodes/DocumentView"; -import { FieldViewProps } from "../nodes/FieldView"; import { StyleProp } from "../StyleProvider"; import { CollectionMasonryViewFieldRow } from "./CollectionMasonryViewFieldRow"; import "./CollectionStackingView.scss"; @@ -400,7 +399,6 @@ export class CollectionStackingView extends CollectionSubView<StackingDocument, observeHeight={ref => { if (ref) { this.refList.push(ref); - const doc = this.props.DataDoc && this.props.DataDoc.layout === this.layoutDoc ? this.props.DataDoc : this.layoutDoc; this.observer = new _global.ResizeObserver(action((entries: any) => { if (this.layoutDoc._autoHeight && ref && this.refList.length && !SnappingManager.GetIsDragging()) { const height = this.headerMargin + |
