/** * Walk up the DOM tree to detect if any ancestor provides a bounded height constraint. * An element is "bounded" when its computed `height` or `max-height` is explicitly set * (not `auto` / `none`). This distinguishes a flex parent with `h-screen` from one that * simply grows to wrap its content. */ export default function hasBoundedHeight(el: HTMLElement | null): boolean;