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

Function onMoveEnd

packages/react-aria/src/table/useTableColumnResize.ts:207–214  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

205 }
206 },
207 onMoveEnd(e) {
208 let {pointerType} = e;
209 columnResizeWidthRef.current = 0;
210 setMouseResizing(false);
211 if (pointerType === 'mouse' || (pointerType === 'touch' && wasFocusedOnResizeStart.current)) {
212 endResize(item);
213 }
214 }
215 });
216
217 let onKeyDown = useCallback(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected