You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's really a card that when clicked on pops up a dialog. But, there is a button on that Card, that when you click it, I want to open another dialog.
I'm getting this behavior where if I open the inner Dialog, if I choose to close out the inner dialog by either clicking the upper right hand corner "X" or clicking outside the dialog, the outer dialog then opens. I think this is because I can't call e.stopPropagation() on the inner Dialog's onOpenChange function.
Does anyone have any idea how to mitigate this behavior?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi All, I'm using a dialog within a dialog.
It's really a card that when clicked on pops up a dialog. But, there is a button on that Card, that when you click it, I want to open another dialog.
I'm getting this behavior where if I open the inner Dialog, if I choose to close out the inner dialog by either clicking the upper right hand corner "X" or clicking outside the dialog, the outer dialog then opens. I think this is because I can't call e.stopPropagation() on the inner Dialog's onOpenChange function.
Does anyone have any idea how to mitigate this behavior?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions