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

Function getScrollHeight

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

Source from the content-addressed store, hash-verified

169 return domRef.current?.pendingScrollDelta ?? 0;
170 },
171 getScrollHeight() {
172 return domRef.current?.scrollHeight ?? 0;
173 },
174 getFreshScrollHeight() {
175 const content = domRef.current?.childNodes[0] as DOMElement | undefined;
176 return content?.yogaNode?.getComputedHeight() ?? domRef.current?.scrollHeight ?? 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected