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

Function getListTop

integrations/tests/tests/scroll-element.spec.tsx:420–424  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

418 }
419
420 async function getListTop(page: Page) {
421 return page.evaluate(
422 () => document.querySelector('[role="list"]')!.getBoundingClientRect().top
423 );
424 }
425
426 test("content grows within an element scroll element", async ({ page }) => {
427 const scroller = '[data-testid="scroller"]';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected