@react-aria/dnd 3.0.0-nightly.3349 → 3.0.0-nightly.3353
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 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +3 -2
- package/dist/module.js.map +1 -1
- package/package.json +12 -12
- package/src/DragManager.ts +5 -2
package/dist/main.js
CHANGED
|
@@ -278,6 +278,7 @@ function $4620ae0dc40f0031$var$getEntryFile(entry) {
|
|
|
278
278
|
|
|
279
279
|
|
|
280
280
|
|
|
281
|
+
|
|
281
282
|
let $28e10663603f5ea1$var$dropTargets = new Map();
|
|
282
283
|
let $28e10663603f5ea1$var$dropItems = new Map();
|
|
283
284
|
let $28e10663603f5ea1$var$dragSession = null;
|
|
@@ -301,7 +302,7 @@ function $28e10663603f5ea1$export$549dbcf8649bf3b2(target, formatMessage) {
|
|
|
301
302
|
$28e10663603f5ea1$var$dragSession = new $28e10663603f5ea1$var$DragSession(target, formatMessage);
|
|
302
303
|
requestAnimationFrame(()=>{
|
|
303
304
|
$28e10663603f5ea1$var$dragSession.setup();
|
|
304
|
-
if ($4620ae0dc40f0031$export$1fb2158d224b542c() === 'keyboard') $28e10663603f5ea1$var$dragSession.next();
|
|
305
|
+
if ($4620ae0dc40f0031$export$1fb2158d224b542c() === 'keyboard' || $4620ae0dc40f0031$export$1fb2158d224b542c() === 'touch' && $4vY0V$reactariainteractions.getInteractionModality() === 'virtual') $28e10663603f5ea1$var$dragSession.next();
|
|
305
306
|
});
|
|
306
307
|
for (let cb of $28e10663603f5ea1$var$subscriptions)cb();
|
|
307
308
|
}
|