@react-aria/dnd 3.0.0-nightly.3062 → 3.0.0-nightly.3069
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/dist/main.js +2 -9
- package/dist/main.js.map +1 -1
- package/dist/module.js +2 -9
- package/dist/module.js.map +1 -1
- package/package.json +12 -12
- package/src/DragManager.ts +3 -11
package/dist/main.js
CHANGED
|
@@ -367,15 +367,8 @@ class $d969485343eae191$var$DragSession {
|
|
|
367
367
|
window.addEventListener('blur', this.onBlur, true);
|
|
368
368
|
document.addEventListener('click', this.onClick, true);
|
|
369
369
|
for (let event of $d969485343eae191$var$CANCELED_EVENTS)document.addEventListener(event, this.cancelEvent, true);
|
|
370
|
-
this.mutationObserver = new MutationObserver(()=>
|
|
371
|
-
|
|
372
|
-
// occur inside a MutationObserver callback. If running in Node, wait until
|
|
373
|
-
// the next tick to update valid drop targets.
|
|
374
|
-
// See https://github.com/jsdom/jsdom/issues/3096
|
|
375
|
-
if (typeof setImmediate === 'function') this.mutationImmediate = setImmediate(()=>this.updateValidDropTargets()
|
|
376
|
-
);
|
|
377
|
-
else this.updateValidDropTargets();
|
|
378
|
-
});
|
|
370
|
+
this.mutationObserver = new MutationObserver(()=>this.updateValidDropTargets()
|
|
371
|
+
);
|
|
379
372
|
this.updateValidDropTargets();
|
|
380
373
|
$jj8Cl$reactarialiveannouncer.announce(this.formatMessage($d969485343eae191$var$MESSAGES[$abb0460d779b39a8$export$1fb2158d224b542c()]));
|
|
381
374
|
}
|