pub fn overflow_scroll<H: UiHost, I, T>(
cx: &mut ElementContext<'_, H>,
layout: LayoutRefinement,
show_scrollbar: bool,
f: impl FnOnce(&mut ElementContext<'_, H>) -> I,
) -> AnyElementwhere
I: IntoIterator<Item = T>,
T: IntoUiElement<H>,Expand description
Component-layer scroll helper (typed, declarative).
Fret treats scrolling as an explicit element (not a boolean overflow flag). This wrapper exists to match gpui/tailwind ergonomics while keeping the runtime contract explicit.