From 2dca9078e46293c0fe5f580171c1550f182530cb Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Thu, 16 Nov 2023 21:03:15 -0500
Subject: fixed autoresetview to trigger when document is closed.  fixed
 keyvalueboxes of groups to be interactive.  made portals a square aspect
 ratio.

---
 .../views/collections/collectionFreeForm/CollectionFreeFormView.tsx      | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')

diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 26e682989..2801c1a4a 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -1570,6 +1570,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
     }
 
     componentWillUnmount() {
+        this.rootDoc[this.autoResetFieldKey]  && this.resetView()
         Object.values(this._disposers).forEach(disposer => disposer?.());
     }
 
-- 
cgit v1.2.3-70-g09d2

