diff options
author | bobzel <zzzman@gmail.com> | 2023-10-25 18:45:30 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-10-25 18:45:30 -0400 |
commit | bbdba27c743a871c51ff99f52a3d348fdd5d2faf (patch) | |
tree | 76ce0b7aefc69ea5bd651441d7354df3666a047a | |
parent | afe6157e26b42cf4e5075d70b83997b2c466343b (diff) |
fix to group pointer events for nested groups.
-rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 5f7dda562..9639ec73c 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1307,7 +1307,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection return ( <CollectionFreeFormDocumentView key={childLayout[Id] + (entry.replica || '')} - GroupPointerEvents={(childLayout._isGroup && !this.childContentsActive()) || childLayout.pointerEvents === 'none' ? returnNone : this.rootDoc._isGroup ? this.groupChildPointerEvents : undefined} + GroupPointerEvents={this.rootDoc._isGroup ? this.groupChildPointerEvents : (childLayout._isGroup && !this.childContentsActive()) || childLayout.pointerEvents === 'none' ? returnNone : undefined} DataDoc={childData} Document={childLayout} renderDepth={this.props.renderDepth + 1} |