Replies: 1 comment
-
you can use the const [open, setOpen] = React.useState(false);
return (
<AlertDialog.Root open={open} onOpenChange={setOpen}>
/* ... */
</AlertDialog.Root>
) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I try closing it by returning null when the check passes, it still leaves a
pointer event: none
style on the body, making it impossible to click anything else on the page.Beta Was this translation helpful? Give feedback.
All reactions