Skip to content

fix: ariaHideOutside ShadowDOM#10288

Open
snowystinger wants to merge 1 commit into
mainfrom
fix-ariaHideOutside-shadowDOM
Open

fix: ariaHideOutside ShadowDOM#10288
snowystinger wants to merge 1 commit into
mainfrom
fix-ariaHideOutside-shadowDOM

Conversation

@snowystinger

Copy link
Copy Markdown
Member

Closes

Noticed while reviewing https://github.com/adobe/react-spectrum/pull/10188/changes#diff-29dcc007b6c87955ab3959f45722c6407485d9ca430d639b4394dbc351023a17R106 that our own logic in ariaHideOutside wasn't quite right. We had a test for it, but it was passing due to some global leaks from previous tests. I've corrected the leaks as well as the logic based on the other PR.

✅ 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

rspbot commented Jul 2, 2026

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants