Skip to content

feat: Add TableFooter component#9943

Open
devongovett wants to merge 4 commits intomainfrom
table-footer
Open

feat: Add TableFooter component#9943
devongovett wants to merge 4 commits intomainfrom
table-footer

Conversation

@devongovett
Copy link
Copy Markdown
Member

Closes #4372

Adds a new <TableFooter> component to React Aria and S2, which may contain one or more rows. When rendered as an HTML table, this is a <tfoot> element, otherwise it has role="rowgroup".

id={id}
dependencies={[...dependencies, columns]}
isDisabled={isInFooter}
disabledBehavior="selection"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New feature: support for disabledBehavior at the individual Row level, not just at the Table level. This is so that the summary rows are not selectable but still focusable, regardless of the disabledBehavior of the rest of the table. Is this something we want to support?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: TableRowGroup type="tfoot"

3 participants