MCPcopy Create free account
hub / github.com/anomalyco/opencode / queueScroll

Function queueScroll

packages/app/src/components/prompt-input.tsx:259–264  ·  view source on GitHub ↗
(count = 2)

Source from the content-addressed store, hash-verified

257 }
258
259 const queueScroll = (count = 2) => {
260 requestAnimationFrame(() => {
261 scrollCursorIntoView()
262 if (count > 1) queueScroll(count - 1)
263 })
264 }
265
266 const activeFileTab = createSessionTabs({
267 tabs,

Callers 5

applyHistoryPromptFunction · 0.85
restoreFocusFunction · 0.85
handleFocusFunction · 0.85
handleInputFunction · 0.85
PromptInputFunction · 0.85

Calls 1

scrollCursorIntoViewFunction · 0.85

Tested by

no test coverage detected