Pattern

Ref And Single-Child Contract

aschild-ref-prop-single-child-contract

A recurring UI rendering failure where using Radix components with asChild breaks because the wrapped trigger child neither forwards refs/props correctly nor satisfies the single-child React.Children.only contract.