@dnd-kit/dom 0.0.9 → 0.0.10-beta-20250210020617

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 CHANGED
@@ -1311,7 +1311,7 @@ var _PointerSensor = class _PointerSensor extends abstract.Sensor {
1311
1311
  return unbind;
1312
1312
  }
1313
1313
  handlePointerDown(event, source, options = {}) {
1314
- if (this.disabled || !event.isPrimary || event.button !== 0 || !utilities.isElement(event.target) || source.disabled || isCapturedBySensor(event)) {
1314
+ if (this.disabled || !event.isPrimary || event.button !== 0 || !utilities.isElement(event.target) || source.disabled || isCapturedBySensor(event) || !this.manager.dragOperation.status.idle) {
1315
1315
  return;
1316
1316
  }
1317
1317
  const { target } = event;