Skip to content

Scheduling infrastructure for absolutely everyone.

fix: prevent OOO dialog from closing on outside click (#25699)

Volnei Munhozc1b7b6e83df7
diff --git a/packages/features/settings/outOfOffice/CreateOrEditOutOfOfficeModal.tsx b/packages/features/settings/outOfOffice/CreateOrEditOutOfOfficeModal.tsx
index d80c8a9104d..5d47f890c0c 100644
--- a/packages/features/settings/outOfOffice/CreateOrEditOutOfOfficeModal.tsx
+++ b/packages/features/settings/outOfOffice/CreateOrEditOutOfOfficeModal.tsx
@@ -188,6 +188,7 @@ export const CreateOrEditOutOfOfficeEntryModal = ({
}}>
<DialogContent
enableOverflow
+ preventCloseOnOutsideClick
onOpenAutoFocus={(event) => {
event.preventDefault();
}}>