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

Function onMoveEnd

packages/react-aria/src/slider/useSlider.ts:109–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 }
108 },
109 onMoveEnd() {
110 if (realTimeTrackDraggingIndex.current != null) {
111 state.setThumbDragging(realTimeTrackDraggingIndex.current, false);
112 realTimeTrackDraggingIndex.current = null;
113 }
114 }
115 });
116
117 let currentPointer = useRef<number | null | undefined>(undefined);

Callers 1

useMoveFunction · 0.50

Calls 1

setThumbDraggingMethod · 0.80

Tested by

no test coverage detected