MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getScrollTop

Function getScrollTop

src/ink/components/ScrollBox.tsx:162–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 forceRender(n => n + 1);
161 },
162 getScrollTop() {
163 return domRef.current?.scrollTop ?? 0;
164 },
165 getPendingDelta() {
166 // Accumulated-but-not-yet-drained delta. useVirtualScroll needs
167 // this to mount the union [committed, committed+pending] range —

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected