From f2828883ad753a43af9412090096958406f79fc2 Mon Sep 17 00:00:00 2001 From: Paul Rastoin <45004772+prastoin@users.noreply.github.com> Date: Wed, 23 Apr 2025 16:23:15 +0200 Subject: [PATCH] Fix click outside dropdown content confirmation modal (#11702) # Introduction Closes https://github.com/twentyhq/twenty/issues/11674 --- .../modules/ui/layout/dropdown/components/DropdownContent.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownContent.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownContent.tsx index 930ee84f5..aa0c70d0b 100644 --- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownContent.tsx +++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownContent.tsx @@ -82,6 +82,7 @@ export const DropdownContent = ({ useListenClickOutside({ refs: [floatingUiRefs.floating, floatingUiRefs.domReference], listenerId: dropdownId, + excludeClassNames: ['confirmation-modal'], callback: (event) => { if (activeDropdownFocusId !== dropdownId) return;