@dnd-kit/dom 0.2.1 → 0.2.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/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -1351,7 +1351,7 @@ var defaults = Object.freeze({
|
|
|
1351
1351
|
preventActivation(event, source) {
|
|
1352
1352
|
var _a4;
|
|
1353
1353
|
const target = (_a4 = source.handle) != null ? _a4 : source.element;
|
|
1354
|
-
return event.target
|
|
1354
|
+
return event.target !== target;
|
|
1355
1355
|
}
|
|
1356
1356
|
});
|
|
1357
1357
|
var _cleanupFunctions;
|