@dnd-kit/dom 0.1.2 → 0.1.3-beta-20250425133001

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
@@ -1441,7 +1441,7 @@ var _PointerSensor = class _PointerSensor extends abstract.Sensor {
1441
1441
  }
1442
1442
  handlePointerUp(event) {
1443
1443
  const { status } = this.manager.dragOperation;
1444
- if (status.dragging) {
1444
+ if (!status.idle) {
1445
1445
  event.preventDefault();
1446
1446
  event.stopPropagation();
1447
1447
  const canceled = !status.initialized;