@puckeditor/core 0.21.1 → 0.21.2-canary.72cdad9d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -868,9 +868,10 @@ var ArrayFieldItemInternal = ({
|
|
|
868
868
|
{
|
|
869
869
|
ref: handleRef,
|
|
870
870
|
onClick: (e) => {
|
|
871
|
-
if (isDragging
|
|
871
|
+
if (isDragging) return;
|
|
872
872
|
e.preventDefault();
|
|
873
873
|
e.stopPropagation();
|
|
874
|
+
if (!hasVisibleFields) return;
|
|
874
875
|
onToggleExpand(id, isExpanded);
|
|
875
876
|
},
|
|
876
877
|
className: getClassNameItem("summary"),
|
package/dist/index.js
CHANGED
|
@@ -6365,9 +6365,10 @@ var ArrayFieldItemInternal = ({
|
|
|
6365
6365
|
{
|
|
6366
6366
|
ref: handleRef,
|
|
6367
6367
|
onClick: (e) => {
|
|
6368
|
-
if (isDragging
|
|
6368
|
+
if (isDragging) return;
|
|
6369
6369
|
e.preventDefault();
|
|
6370
6370
|
e.stopPropagation();
|
|
6371
|
+
if (!hasVisibleFields) return;
|
|
6371
6372
|
onToggleExpand(id, isExpanded);
|
|
6372
6373
|
},
|
|
6373
6374
|
className: getClassNameItem("summary"),
|
package/dist/index.mjs
CHANGED
package/dist/no-external.js
CHANGED
|
@@ -6368,9 +6368,10 @@ var ArrayFieldItemInternal = ({
|
|
|
6368
6368
|
{
|
|
6369
6369
|
ref: handleRef,
|
|
6370
6370
|
onClick: (e) => {
|
|
6371
|
-
if (isDragging
|
|
6371
|
+
if (isDragging) return;
|
|
6372
6372
|
e.preventDefault();
|
|
6373
6373
|
e.stopPropagation();
|
|
6374
|
+
if (!hasVisibleFields) return;
|
|
6374
6375
|
onToggleExpand(id, isExpanded);
|
|
6375
6376
|
},
|
|
6376
6377
|
className: getClassNameItem("summary"),
|
package/dist/no-external.mjs
CHANGED