Issue with nested Popovers after upgrading react-aria-components
#9568
Replies: 2 comments 1 reply
-
|
This is expected. Everything behind the popover is not accessible to anyone. Previously this was poorly implemented through a combination of aria-hidden, focus scope, etc. Now that browsers all support the I'm going to close this as working as expected, if you have further questions, feel free to ask them here. |
Beta Was this translation helpful? Give feedback.
-
|
@snowystinger Thanks for the explanation — that makes sense, especially with the move to the In our application, this behavior is something we relied on earlier. We were already using With the current behavior, we’re finding it difficult to offer the same interaction patterns to users, and refactoring this flow isn’t straightforward for us at the moment. Do you have any recommendations or patterns for achieving a similar UX with the current version?
Any guidance on how to approach this with the current APIs would be really helpful. Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve upgraded
react-aria-componentsin my repo from version1.8.0to1.14.0.In earlier versions (
1.8.0up to1.10.0), when opening a popover inside another popover, interactions in both popovers worked as expected.However, after upgrading to newer versions, when a nested popover is opened, the interactions in the parent (first) popover stop working.
Example
Here is a CodeSandbox demonstrating the issue:
https://codesandbox.io/p/sandbox/wonderful-hugle-pqynlx
Expected behavior (up to v1.10.0):
Actual behavior (v1.11.0 and above):
Steps to reproduce
react-aria-components@1.11.0→ The button in the first popover is no longer interactive
react-aria-components@1.10.0or1.8.0@devongovett @snowystinger @LFDanLu — would appreciate any guidance on this 🙏
Beta Was this translation helpful? Give feedback.
All reactions