You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've already run into slight hiccups with both when styling the components for the docs and had to use the render prop to remove the offending pieces. I think it's worth a thought to render a single div without any styles.
Overflow scroll:
Assumes you want overflow on both axes
Assumes you want overflow unconditionally (and not conditionally on/off like in the docs demo code block)
Extra div:
Generally useful in most cases and/or not affecting the layout when it doesn't matter, but since scroll container styling can get gnarly and this inner div isn't accessible directly, I'd prefer to add this as a suggestion in the docs and as Base UI user have total control over my layout instead. As a really simplistic example, setting className="flex flex-col gap-2" on the viewport isn't going to add a gap between the items.
The text was updated successfully, but these errors were encountered:
currently renders:
I've already run into slight hiccups with both when styling the components for the docs and had to use the render prop to remove the offending pieces. I think it's worth a thought to render a single div without any styles.
Overflow scroll:
Extra div:
className="flex flex-col gap-2"
on the viewport isn't going to add a gap between the items.The text was updated successfully, but these errors were encountered: