Replies: 1 comment 1 reply
-
Hey! We are working on this |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have two triggers which open overlays. I would like only one to be open at a time. How can I achieve that?
Use case:
I open dialog 1, then click on the trigger of dialog 2. I would like the first dialog to close so that only 1 dialog is open at a time.
https://codesandbox.io/s/react-aria-useoverlay-with-2-dialogs-vgth9?file=/src/App.js
Thanks!
Arnaud
Beta Was this translation helpful? Give feedback.
All reactions