chore: fix alert dialog interactivity when nested in other dialogs

This commit is contained in:
Aman Harwara
2023-08-23 19:11:24 +05:30
parent 5bfc6081b4
commit beaf60c491

View File

@@ -27,7 +27,7 @@ const AlertDialog = ({
<Dialog <Dialog
store={dialog} store={dialog}
role="alertdialog" role="alertdialog"
className="fixed left-0 top-0 z-modal h-full w-full flex items-center justify-center" className="fixed left-0 top-0 z-modal h-full w-full flex items-center justify-center pointer-events-auto"
modal={false} modal={false}
portal={true} portal={true}
preventBodyScroll={true} preventBodyScroll={true}