aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionGrid/CollectionGridView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/collections/collectionGrid/CollectionGridView.tsx')
-rw-r--r--src/client/views/collections/collectionGrid/CollectionGridView.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionGrid/CollectionGridView.tsx b/src/client/views/collections/collectionGrid/CollectionGridView.tsx
index a887cf98b..cece6368a 100644
--- a/src/client/views/collections/collectionGrid/CollectionGridView.tsx
+++ b/src/client/views/collections/collectionGrid/CollectionGridView.tsx
@@ -318,6 +318,7 @@ export class CollectionGridView extends CollectionSubView(GridSchema) {
ref={this.createDashEventsTarget}
//onPointerDown={(e: React.PointerEvent) => e.stopPropagation()}
>
+ DIV HERE with ref to access scroll of and adjust in getting position
<Grid
width={this.props.PanelWidth()}
nodeList={contents}
@@ -326,6 +327,7 @@ export class CollectionGridView extends CollectionSubView(GridSchema) {
rowHeight={this.props.Document.rowHeight as number}
setLayout={this.setLayout}
flex={this.props.Document.flexGrid as boolean}
+ scale={1 / this.props.ScreenToLocalTransform().Scale}
/>
</div>
);