MCPcopy Create free account
hub / github.com/bvaughn/react-window / onChange

Function onChange

lib/core/useVirtualizer.ts:376–376  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

374
375 const ownerWindow = getOwnerWindow(containerElement);
376 const onChange = () => updateIndicesFromScrollElement();
377
378 scrollTarget.addEventListener("scroll", onChange, { passive: true });
379 // The container may also scroll its own content (e.g. a grid's columns)

Callers 1

observePrecedingContentFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected