ui
ui copied to clipboard
Can not close dialog by clicking on the backdrop
I created a dialog for people to report other's posts, everything was fine. The close button worked with ease, but I noticed that a backdrop didn't have any effect when clicking, I mean I want it to close the dialog, but it just doesn't do anything. So can the devs update this functionality ? make my life a little bit easier :D thanks
You might be using AlertDialog instead of Dialog.
I believe OP is referring to making the backdrop and everything aside from the dialog content "inert". There is a prop on dialog from Radix called modal that is accidentally ignored.
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.