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

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