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

Function stop

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

Source from the content-addressed store, hash-verified

107 }
108 },
109 stop() {
110 if (state.timer) {
111 cancelAnimationFrame(state.timer);
112 state.timer = undefined;
113 }
114 }
115 };
116}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected