@react-aria/dnd 3.0.0-nightly.3242 → 3.0.0-nightly.3249
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 +0 -4
- package/dist/main.js.map +1 -1
- package/dist/module.js +0 -4
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +6 -6
- package/dist/types.d.ts.map +1 -1
- package/package.json +12 -12
- package/src/useDropIndicator.ts +2 -2
- package/src/useDroppableCollection.ts +2 -7
- package/src/useDroppableItem.ts +2 -2
package/dist/main.js
CHANGED
|
@@ -1291,10 +1291,6 @@ function $7f93a158ac20b90a$export$f4e2f423c21f7b04(props, state1, ref2) {
|
|
|
1291
1291
|
localState.nextTarget = null;
|
|
1292
1292
|
return 'cancel';
|
|
1293
1293
|
}
|
|
1294
|
-
if (state1.isDropTarget(target)) {
|
|
1295
|
-
localState.nextTarget = target;
|
|
1296
|
-
return localState.dropOperation;
|
|
1297
|
-
}
|
|
1298
1294
|
localState.dropOperation = state1.getDropOperation(target, types, allowedOperations);
|
|
1299
1295
|
// If the target doesn't accept the drop, see if the root accepts it instead.
|
|
1300
1296
|
if (localState.dropOperation === 'cancel') {
|