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

Function getListTop

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

Source from the content-addressed store, hash-verified

425 }
426
427 async function getListTop(page: Page) {
428 return page.evaluate(
429 () => document.querySelector('[role="list"]')!.getBoundingClientRect().top
430 );
431 }
432
433 test("content grows within an element scroll element", async ({ page }) => {
434 const scroller = '[data-testid="scroller"]';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected