Skip to content

shouldCloseOnOverlayClick=false doesn't seem to stop my dialog from closing #1165

Answered by Astrophe
Astrophe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi everyone,

I was able to solve my own problem! I had put my entire within a Menu item, which closed itself (and any associated components) when I clicked anywhere. I kept my button that set generateModalShow to true within my Menu, but moved my Dialog out of the menu, and that fixed the problem!

Thanks for a great UI Evergreen team!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brandongregoryscott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant