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

Function onScrollLeft

lib/components/MultiGrid/MultiGrid.tsx:320–326  ·  view source on GitHub ↗
({ scrollLeft }: ScrollInfo)

Source from the content-addressed store, hash-verified

318
319 // The top-right Grid has been scrolled by the user (enableFixedRowScroll)
320 const onScrollLeft = ({ scrollLeft }: ScrollInfo) => {
321 internals.bottomRightGrid?.scrollToPosition({ scrollLeft });
322 onScroll({
323 scrollLeft,
324 scrollTop: internals.scrollTop
325 });
326 };
327
328 // The bottom-left Grid has been scrolled by the user (enableFixedColumnScroll)
329 const onScrollTop = ({ scrollTop }: ScrollInfo) => {

Callers

nothing calls this directly

Calls 2

onScrollFunction · 0.70
scrollToPositionMethod · 0.65

Tested by

no test coverage detected