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

Function getPendingDelta

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

Source from the content-addressed store, hash-verified

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 —
168 // otherwise intermediate drain frames find no children (blank).
169 return domRef.current?.pendingScrollDelta ?? 0;
170 },
171 getScrollHeight() {
172 return domRef.current?.scrollHeight ?? 0;
173 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected