@contentful/field-editor-reference 4.6.1 → 4.6.2
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.
- package/CHANGELOG.md +6 -0
- package/dist/field-editor-reference.cjs.development.js +5 -1
- package/dist/field-editor-reference.cjs.development.js.map +1 -1
- package/dist/field-editor-reference.cjs.production.min.js +1 -1
- package/dist/field-editor-reference.cjs.production.min.js.map +1 -1
- package/dist/field-editor-reference.esm.js +5 -1
- package/dist/field-editor-reference.esm.js.map +1 -1
- package/package.json +2 -2
|
@@ -3332,7 +3332,11 @@ var SortableLinkListInternal = /*#__PURE__*/SortableContainer(function (props) {
|
|
|
3332
3332
|
}); // HOC does not support generics, so we mimic it via additional component
|
|
3333
3333
|
|
|
3334
3334
|
function SortableLinkList(props) {
|
|
3335
|
-
|
|
3335
|
+
// with the default distance of 0 the drag start event is "confused" with the click event,
|
|
3336
|
+
// so the latter one isn't fired and click handlers on child elements don't work
|
|
3337
|
+
return React__default.createElement(SortableLinkListInternal, Object.assign({
|
|
3338
|
+
distance: 1
|
|
3339
|
+
}, props), props.children);
|
|
3336
3340
|
}
|
|
3337
3341
|
|
|
3338
3342
|
function MultipleEntryReferenceEditor(props) {
|