aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.tsx
diff options
context:
space:
mode:
authoreeng5 <eleanor_eng@brown.edu>2019-08-26 14:18:57 -0400
committereeng5 <eleanor_eng@brown.edu>2019-08-26 14:18:57 -0400
commit6770b483ad4ec1bfec8733ee86dd67e9146bf474 (patch)
treef7c77ca207d36d9c6fe1a71ff0d612d0a0c6e0f6 /src/client/views/collections/CollectionStackingView.tsx
parent0ac0fd9cf2d93bf328b167710631cc46b1c27187 (diff)
create aliases using alt; still has orig problems
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r--src/client/views/collections/CollectionStackingView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx
index 678e10dc5..9c7816c39 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -94,7 +94,7 @@ export class CollectionStackingView extends CollectionSubView(doc => doc) {
async (args) => args[1] instanceof Doc &&
this.childDocs.map(async doc => !Doc.AreProtosEqual(args[1] as Doc, (await doc).layout as Doc) && Doc.ApplyTemplateTo(args[1] as Doc, (await doc), undefined)));
- // is there any reason this needs to exist? -syip. yes, it handles autoHeight for stacking views (masonry isn't yet supported).
+ // is there any reason this needs to exist? -syip. yes, it handles autoHeight for stacking and masonry views -eeng.
this._heightDisposer = reaction(() => {
if (BoolCast(this.props.Document.autoHeight)) {
let sectionsList = Array.from(this.Sections.size ? this.Sections.values() : [this.filteredChildren]);