How to trigger a Dialog (Portal) from a DropdownMenu? #607
Unanswered
marty-mcgee
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a DropdownMenu at the top of my app. I have a Dialog (Modal), using a Dialog.Portal. What is the best/easiest way to "trigger" the opening of a Dialog.Portal (Dialog.Content) from an action in a DropdownMenu?
Pseudo Code:
// There is a Menu Item titled "Open Dialog Modal" in this DropdownMenu
< DropdownMenu />
// when selecting "Open Dialog Modal" from this DropdownMenu, I want to trigger/interact with this Dialog component..
< DialogModal />
Thank you, in advance.
Beta Was this translation helpful? Give feedback.
All reactions