@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.6.2](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.1...@contentful/field-editor-reference@4.6.2) (2022-07-18)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- click handler on children of sortable list ([#1188](https://github.com/contentful/field-editors/issues/1188)) ([7ebab54](https://github.com/contentful/field-editors/commit/7ebab54b2ecd301b3cf066615b124da72b46856a))
|
|
11
|
+
|
|
6
12
|
## [4.6.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-reference@4.6.0...@contentful/field-editor-reference@4.6.1) (2022-07-18)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
|
@@ -3339,7 +3339,11 @@ var SortableLinkListInternal = /*#__PURE__*/reactSortableHoc.SortableContainer(f
|
|
|
3339
3339
|
}); // HOC does not support generics, so we mimic it via additional component
|
|
3340
3340
|
|
|
3341
3341
|
function SortableLinkList(props) {
|
|
3342
|
-
|
|
3342
|
+
// with the default distance of 0 the drag start event is "confused" with the click event,
|
|
3343
|
+
// so the latter one isn't fired and click handlers on child elements don't work
|
|
3344
|
+
return React__default.createElement(SortableLinkListInternal, Object.assign({
|
|
3345
|
+
distance: 1
|
|
3346
|
+
}, props), props.children);
|
|
3343
3347
|
}
|
|
3344
3348
|
|
|
3345
3349
|
function MultipleEntryReferenceEditor(props) {
|