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
{{ message }}
Repository navigation
DataViews: Add border to sticky table headers #73468
The prevailing pattern with sticky elements (see modal headers, dataviews footer) is to render a subtle border to visually define the boundary of the sticky UI. This is currently missing from table column headers in dataviews leading to a slightly awkward appearance:
Compared to scrolling modals:
Separate to fixing this, I wonder if a dedicated ScrollArea component would be useful for ensuring consistent treatment for these kinds of things cc @aduth@mirka.
Separate to fixing this, I wonder if a dedicated ScrollArea component would be useful for ensuring consistent treatment for these kinds of things
With how I've seen other component libraries manage this kind of component (e.g. Shadcn or BaseUI), I find they're most concerned with the contents of the scrollable area itself: edge fades, etc. With something like this it feels like it'd be some sort of "Scrollable Area Header", or maybe a consistent top border on the scrollable area. It might be difficult to implement that in a way that doesn't require some awareness of how the borders would be applied, at which point it's unclear if there's much benefit over the developer applying their own border.
On consistency, is something like border color / shadow / width universal enough that we can standardize it?
I don't have a strong feeling about the visual design treatment outside of favoring consistent application, if possible. Fades could be worth trying. I saw a subtle fade effect introduced in DataViews recently, so there's some precedent for that.
Activity
aduth commentedon Nov 20, 2025
With how I've seen other component libraries manage this kind of component (e.g. Shadcn or BaseUI), I find they're most concerned with the contents of the scrollable area itself: edge fades, etc. With something like this it feels like it'd be some sort of "Scrollable Area Header", or maybe a consistent top border on the scrollable area. It might be difficult to implement that in a way that doesn't require some awareness of how the borders would be applied, at which point it's unclear if there's much benefit over the developer applying their own border.
On consistency, is something like border color / shadow / width universal enough that we can standardize it?
jameskoster commentedon Nov 21, 2025
I don't have a strong feeling about the visual design treatment outside of favoring consistent application, if possible. Fades could be worth trying. I saw a subtle fade effect introduced in DataViews recently, so there's some precedent for that.