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

Function clipsBothAxes

src/ink/render-node-to-output.ts:1296–1302  ·  view source on GitHub ↗
(node: DOMElement)

Source from the content-addressed store, hash-verified

1294}
1295
1296function clipsBothAxes(node: DOMElement): boolean {
1297 const ox = node.style.overflowX ?? node.style.overflow
1298 const oy = node.style.overflowY ?? node.style.overflow
1299 return (
1300 (ox === 'hidden' || ox === 'scroll') && (oy === 'hidden' || oy === 'scroll')
1301 )
1302}
1303
1304// When Yoga squeezes a box to h=0, the ghost only happens if a sibling
1305// lands at the same computed top — then both write to that row and the

Callers 1

renderChildrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected