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

Function inside

packages/ui/src/components/tooltip.tsx:55–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 const close = () => setState("open", false)
54
55 const inside = () => {
56 const active = document.activeElement
57 if (!ref || !active) return false
58 return ref.contains(active)
59 }
60
61 const drop = (expand = state.expand) => {
62 if (expand) return

Callers 2

dropFunction · 0.70
leaveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected