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

Function active

packages/ui/src/hooks/create-auto-scroll.tsx:27–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 })
26
27 const active = () => options.working() || settling
28
29 const distanceFromBottom = (el: HTMLElement) => {
30 return el.scrollHeight - el.clientHeight - el.scrollTop

Callers 3

scrollToBottomFunction · 0.70
handleInteractionFunction · 0.70
createAutoScrollFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected