From 560ca031c14d4b6524d2bb38b76c26ce2a8adff2 Mon Sep 17 00:00:00 2001
From: usodhi <61431818+usodhi@users.noreply.github.com>
Date: Thu, 28 May 2020 12:44:16 +0530
Subject: minor

---
 src/client/views/collections/collectionGrid/CollectionGridView.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/client/views/collections/collectionGrid/CollectionGridView.tsx')

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>
         );
-- 
cgit v1.2.3-70-g09d2

