-
Hi there, I am trying to put a Select component within a Dialog, but I need to turn off the feature that closes the Dialog when the user clicks. It seems that shouldCloseOnOverlayClick={false} should do the trick, but my Dialog closes when I try to select the month and year nevertheless. The code for my Dialog is below. Any help would be appreciated!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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! |
Beta Was this translation helpful? Give feedback.
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!