@contentful/f36-drag-handle
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -6,2 +6,10 @@ # Change Log | ||
## [4.1.2](https://github.com/contentful/forma-36/compare/@contentful/f36-drag-handle@4.1.1...@contentful/f36-drag-handle@4.1.2) (2022-02-04) | ||
**Note:** Version bump only for package @contentful/f36-drag-handle | ||
## [4.1.1](https://github.com/contentful/forma-36/compare/@contentful/f36-drag-handle@4.1.0...@contentful/f36-drag-handle@4.1.1) (2022-01-31) | ||
@@ -8,0 +16,0 @@ |
@@ -80,3 +80,10 @@ var $9zqHf$emotion = require("emotion"); | ||
]); | ||
return(// https://github.com/clauderic/react-sortable-hoc/blob/d94ba3cc67cfc7d6d460b585e7723bdb50015e53/src/SortableContainer/defaultShouldCancelStart.js | ||
return(// | ||
// The other alternative way to fix it was to pass a custom `shouldCancelStart` callback, | ||
// in every place where we use this component with react-sortable-hoc. | ||
// (the custom callback with all the logic from default callback, but without button event cancelation). | ||
// So we decided that just changing it to the div, as it was in v3, is a better fix. | ||
// | ||
// default shouldCancelStart callback: | ||
// https://github.com/clauderic/react-sortable-hoc/blob/d94ba3cc67cfc7d6d460b585e7723bdb50015e53/src/SortableContainer/defaultShouldCancelStart.js | ||
/*#__PURE__*/ ($parcel$interopDefault($9zqHf$react)).createElement("div", { | ||
@@ -83,0 +90,0 @@ role: "button", |
@@ -72,3 +72,10 @@ import {cx as $8USmO$cx, css as $8USmO$css} from "emotion"; | ||
]); | ||
return(// https://github.com/clauderic/react-sortable-hoc/blob/d94ba3cc67cfc7d6d460b585e7723bdb50015e53/src/SortableContainer/defaultShouldCancelStart.js | ||
return(// | ||
// The other alternative way to fix it was to pass a custom `shouldCancelStart` callback, | ||
// in every place where we use this component with react-sortable-hoc. | ||
// (the custom callback with all the logic from default callback, but without button event cancelation). | ||
// So we decided that just changing it to the div, as it was in v3, is a better fix. | ||
// | ||
// default shouldCancelStart callback: | ||
// https://github.com/clauderic/react-sortable-hoc/blob/d94ba3cc67cfc7d6d460b585e7723bdb50015e53/src/SortableContainer/defaultShouldCancelStart.js | ||
/*#__PURE__*/ $8USmO$react.createElement("div", { | ||
@@ -75,0 +82,0 @@ role: "button", |
{ | ||
"name": "@contentful/f36-drag-handle", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "Forma 36: DragHandle component", | ||
@@ -35,3 +35,3 @@ "scripts": { | ||
}, | ||
"gitHead": "721631baa9a9904e6c4fa2224885604e23d3d21f" | ||
"gitHead": "ac1efe06eb0fcbf34e994e716c2920a25e61f3eb" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35848
253