MCPcopy Index your code
hub / github.com/codeaashu/claude-code / scrollToBottom

Function scrollToBottom

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

Source from the content-addressed store, hash-verified

151 scrollMutated(el);
152 },
153 scrollToBottom() {
154 const el = domRef.current;
155 if (!el) return;
156 el.pendingScrollDelta = undefined;
157 el.stickyScroll = true;
158 markDirty(el);
159 notify();
160 forceRender(n => n + 1);
161 },
162 getScrollTop() {
163 return domRef.current?.scrollTop ?? 0;
164 },

Callers

nothing calls this directly

Calls 2

markDirtyFunction · 0.85
notifyFunction · 0.85

Tested by

no test coverage detected