aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionStackingView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-02-27 16:05:35 -0500
committerbobzel <zzzman@gmail.com>2025-02-27 16:05:35 -0500
commit2838b8d98ab88df974fd52ba96cf5046d99298cb (patch)
tree802a5c2b52ea031f5089a07e956760a90c2d1e0f /src/client/views/collections/CollectionStackingView.tsx
parentbcf3b005d55ec851374049f4c188d96ffc7a7c8b (diff)
fixed passive wheel prevention on document.root. fixed key waring on masonry view.
Diffstat (limited to 'src/client/views/collections/CollectionStackingView.tsx')
-rw-r--r--src/client/views/collections/CollectionStackingView.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionStackingView.tsx b/src/client/views/collections/CollectionStackingView.tsx
index e8fa8b01e..f06e0b551 100644
--- a/src/client/views/collections/CollectionStackingView.tsx
+++ b/src/client/views/collections/CollectionStackingView.tsx
@@ -606,7 +606,7 @@ export class CollectionStackingView extends CollectionSubView<Partial<collection
}
const rows = () => (!this.isStackingView ? 1 : Math.max(1, Math.min(docList.length, Math.floor((this._props.PanelWidth() - 2 * this.xMargin) / (this.columnWidth + this.gridGap)))));
return (
- <>
+ <div key={(heading?.heading ?? '') + 'head'}>
{this._props.isContentActive() && !this.isStackingView ? this.columnDragger : null}
<div style={{ top: this.yMargin }}>
<CollectionMasonryViewFieldRow
@@ -628,7 +628,7 @@ export class CollectionStackingView extends CollectionSubView<Partial<collection
setDocHeight={this.setDocHeight}
/>
</div>
- </>
+ </div>
);
};