MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized / scroll

Function scroll

lib/utils/test/scrollElement.ts:258–262  ·  view source on GitHub ↗
(scrollTop, scrollLeft = element.scrollLeft)

Source from the content-addressed store, hash-verified

256 });
257 },
258 scroll(scrollTop, scrollLeft = element.scrollLeft) {
259 act(() => {
260 scrollTo(scrollLeft, scrollTop);
261 });
262 },
263 scrollTo
264 };
265

Callers

nothing calls this directly

Calls 2

scrollToFunction · 0.70
dispatchWindowScrollFunction · 0.70

Tested by

no test coverage detected