Skip to content

chore: Revert "Use inert in ariaHideOutside" #8371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2025

Conversation

devongovett
Copy link
Member

Reverts #8317

Will return after patch release.

@devongovett devongovett changed the title Revert "chore: Use inert in ariaHideOutside" chore: Revert "Use inert in ariaHideOutside" Jun 9, 2025
@rspbot
Copy link

rspbot commented Jun 9, 2025

Build successful! 🎉

@rspbot
Copy link

rspbot commented Jun 9, 2025

## API Changes

@react-aria/overlays

/@react-aria/overlays:ariaHideOutside

 ariaHideOutside {
   targets: Array<Element>
-  options?: AriaHideOutsideOptions | Element
+  root: any
   returnVal: undefined
 }

@react-spectrum/overlays

/@react-spectrum/overlays:Overlay

 Overlay {
   children: ReactNode
   container?: Element
   disableFocusManagement?: boolean
   isKeyboardDismissDisabled?: boolean
   isOpen?: boolean
   nodeRef: MutableRefObject<HTMLElement | null>
   onEnter?: () => void
   onEntered?: () => void
   onEntering?: () => void
   onExit?: () => void
   onExited?: () => void
   onExiting?: () => void
-  shouldContainFocus?: boolean
 }

@devongovett devongovett merged commit 26f9102 into main Jun 9, 2025
30 of 31 checks passed
@devongovett devongovett deleted the revert-8317-use-inert branch June 9, 2025 22:49
devongovett added a commit that referenced this pull request Jun 10, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jul 11, 2025
* Revert "Revert "chore: Use inert in ariaHideOutside (#8317)" (#8371)"

This reverts commit 26f9102.

* Fix focus ring appearing on S2 submenus

* Fix firefox focusing Picker/Menu items when clicking with mouse

* Fix dialog re-focusing with iOS VO

* Revert "Fix firefox focusing Picker/Menu items when clicking with mouse"

This reverts commit 34bc815.

---------

Co-authored-by: Daniel Lu <[email protected]>
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.

4 participants