Add functionality to close modal when back overlay is clicked. (#13669)

This commit is contained in:
Ayangade Adeoluwa 2022-05-10 13:39:03 +01:00 committed by GitHub
parent 5d09b612e5
commit 49a4e47b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,6 +86,7 @@ class RequestConfirmationModal extends React.Component<Props> {
{modalsToBeOpened.map((modalInfo: ModalInfo, index: number) => (
<DialogComponent
canEscapeKeyClose
canOutsideClickClose
isOpen={modalInfo?.modalOpen}
key={index}
maxHeight={"80vh"}