@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.
@@ -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
- return React__default.createElement(SortableLinkListInternal, Object.assign({}, props), props.children);
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) {