We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3791c06 commit 1c2ffecCopy full SHA for 1c2ffec
packages/@react-aria/dnd/src/TreeDropTargetDelegate.ts
@@ -109,6 +109,8 @@ export class TreeDropTargetDelegate<T> extends ListDropTargetDelegate {
109
return target;
110
}
111
112
+ // Returns potential targets for an ambiguous drop position (e.g. after the last child of a parent, or after the parent itself)
113
+ // Ordered by level, from innermost to outermost.
114
private getPotentialTargets(originalTarget: ItemDropTarget, isValidDropTarget: (target: DropTarget) => boolean): ItemDropTarget[] {
115
if (originalTarget.dropPosition === 'on') {
116
return [originalTarget];
0 commit comments