Skip to content

fix: improve keyboard navigation when Table has expandable rows#9842

Merged
yihuiliao merged 5 commits intomainfrom
table-expand
Mar 25, 2026
Merged

fix: improve keyboard navigation when Table has expandable rows#9842
yihuiliao merged 5 commits intomainfrom
table-expand

Conversation

@yihuiliao
Copy link
Member

@yihuiliao yihuiliao commented Mar 25, 2026

Closes

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

Go to any example with expandable rows and test that when a child row is collapsed, pressing arrow left moves the focus to the parent row.

In the case where it is a top level row, make sure that when the row is collapsed that focus wraps around within the row.

🧢 Your Project:

@rspbot
Copy link

rspbot commented Mar 25, 2026

@rspbot
Copy link

rspbot commented Mar 25, 2026

## API Changes

@internationalized/date

/@internationalized/date:DateValue

-DateValue {
-  D: undefined
-}

@react-spectrum/toast

/@react-spectrum/toast:CloseFunction

-CloseFunction {
-  C: undefined
-}

@react-stately/data

/@react-stately/data:AsyncListLoadFunction

-AsyncListLoadFunction {
-  A: undefined
-}

/@react-stately/data:AsyncListLoadOptions

-AsyncListLoadOptions <C, T> {
-  cursor?: C
-  filterText?: string
-  items: Array<T>
-  loadingState?: LoadingState
-  selectedKeys: Selection
-  signal: AbortSignal
-  sortDescriptor?: SortDescriptor
-}

/@react-stately/data:AsyncListStateUpdate

-AsyncListStateUpdate <C, T> {
-  cursor?: C
-  filterText?: string
-  items: Iterable<T>
-  selectedKeys?: Iterable<Key>
-  sortDescriptor?: SortDescriptor
-}

@yihuiliao yihuiliao added this pull request to the merge queue Mar 25, 2026
Merged via the queue into main with commit 4f2b248 Mar 25, 2026
29 checks passed
@yihuiliao yihuiliao deleted the table-expand branch March 25, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants