Skip to content

fix: all active element access for shadow dom#9608

Open
snowystinger wants to merge 6 commits intomainfrom
fix-all-document-active-element
Open

fix: all active element access for shadow dom#9608
snowystinger wants to merge 6 commits intomainfrom
fix-all-document-active-element

Conversation

@snowystinger
Copy link
Member

Closes

As part of the series #9551 and #9485

The three of them combined should close out Shadow dom event handling

changes all document.activeElement to getActiveElement() which will default to using document.

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

🧢 Your Project:

@rspbot
Copy link

rspbot commented Feb 5, 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.

2 participants