Skip to content

DataViews: Add border to sticky table headers #73468

Closed

Description

@jameskoster

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:

Image

Compared to scrolling modals:

Image

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.

Activity

  1. added
    [Type] Enhancement
    [Feature] DataViews
    on Nov 20, 2025
  2. aduth commented on Nov 20, 2025

    @aduth
    Member

    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?

  3. jameskoster commented on Nov 21, 2025

    @jameskoster
    ContributorAuthor

    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.

  4. added
    [Status] In Progress
    on Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Feature] DataViews[Status] In Progress[Type] Enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions