MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / scrollEnd

Function scrollEnd

app/src/modules/waiting.js:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14const INPUT_PLACEHOLDER_WAITING = 'AI 思考中…';
15
16export function scrollEnd() {
17 keepWorkingAtBottom();
18 if (S.isAtBottom) requestAnimationFrame(() => { $chat.scrollTop = $chat.scrollHeight; });
19}
20
21export function updateScrollBtn() {
22 $('btn-scroll').classList.toggle('visible', !S.isAtBottom);

Callers 7

execCmdFunction · 0.90
sendFunction · 0.90
renderTodoPanelFunction · 0.90
consumePendingPlanCardFunction · 0.90
processEventFunction · 0.90
attachResultFunction · 0.90
setWaitingFunction · 0.70

Calls 1

keepWorkingAtBottomFunction · 0.70

Tested by

no test coverage detected