MCPcopy
hub / github.com/bvaughn/react-virtualized / simulateScroll

Function simulateScroll

source/Grid/Grid.jest.js:39–43  ·  view source on GitHub ↗
({grid, scrollLeft = 0, scrollTop = 0})

Source from the content-addressed store, hash-verified

37 }
38
39 function simulateScroll({grid, scrollLeft = 0, scrollTop = 0}) {
40 const target = {scrollLeft, scrollTop};
41 grid._scrollingContainer = target; // HACK to work around _onScroll target check
42 Simulate.scroll(findDOMNode(grid), {target});
43 }
44
45 function getMarkup(props = {}) {
46 return (

Callers 2

Grid.jest.jsFile · 0.70
Collection.jest.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…