MCPcopy Create free account
hub / github.com/adobe/react-spectrum / onDropMove

Function onDropMove

packages/react-aria/src/dnd/useDroppableCollection.ts:173–178  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

171 }
172 },
173 onDropMove(e) {
174 if (localState.nextTarget != null) {
175 state.setTarget(localState.nextTarget);
176 }
177 autoScroll.move(e.x, e.y);
178 },
179 getDropOperationForPoint(types, allowedOperations, x, y) {
180 let {draggingKeys, dropCollectionRef} = globalDndState;
181 let isInternal = isInternalDropOperation(ref);

Callers

nothing calls this directly

Calls 2

setTargetMethod · 0.80
moveMethod · 0.65

Tested by

no test coverage detected