@dnd-kit/dom 0.1.18 → 0.1.19-beta-20250610183225

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
@@ -829,6 +829,7 @@ render_fn = function() {
829
829
  };
830
830
  dropEffectCleanup = state.effect(() => {
831
831
  if (dragOperation.status.dropped) {
832
+ queueMicrotask(() => dropEffectCleanup == null ? void 0 : dropEffectCleanup());
832
833
  const onComplete = cleanup;
833
834
  cleanup = void 0;
834
835
  source.status = "dropping";