Skip to content

Conversation

@snowystinger
Copy link
Member

@snowystinger snowystinger commented Jan 27, 2026

Closes

Fixes an issue where focus would go to a tree collection if focus was on a key that became completely disabled

✅ 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:

  1. Go to first storybook for s2 treeview
  2. expand the projects item and click on the disabled row
  3. change the disabled behavior from selection to all
  4. keyboard navigate back to the treeview
  5. it should focus on the first item, not on the collection as a whole

🧢 Your Project:

@snowystinger snowystinger changed the title [WIP]: fix: tree focus management fix: tree focus management Jan 28, 2026
@snowystinger snowystinger marked this pull request as ready for review January 28, 2026 00:17
@rspbot
Copy link

rspbot commented Jan 28, 2026

@rspbot
Copy link

rspbot commented Jan 28, 2026

@rspbot
Copy link

rspbot commented Jan 28, 2026

@rspbot
Copy link

rspbot commented Jan 28, 2026

@rspbot
Copy link

rspbot commented Jan 28, 2026

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.

3 participants