From b6ae9e138bbdbf67e1779359a5043c6290dbfc12 Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Tue, 10 Sep 2024 08:22:40 -0600 Subject: [PATCH] Merge pull request #48878 from Krishna2323/krishna2323/issue/48875 fix: Expense - Unable to dismiss the delete modal by clicking outside the modal. (cherry picked from commit a63daff232333389d97b5690dfcc7bdeac6dc49f) (CP triggered by luacmartins) --- src/components/ConfirmModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ConfirmModal.tsx b/src/components/ConfirmModal.tsx index cc99ca636488..9d6bd3a0a76a 100755 --- a/src/components/ConfirmModal.tsx +++ b/src/components/ConfirmModal.tsx @@ -111,7 +111,7 @@ function ConfirmModal({ success = true, danger = false, onCancel = () => {}, - onBackdropPress = () => {}, + onBackdropPress, shouldDisableConfirmButtonWhenOffline = false, shouldShowCancelButton = true, shouldSetModalVisibility = true,