From c98a8a225825c50c4453102e6aa266b21d68b584 Mon Sep 17 00:00:00 2001 From: Harsh Singh Date: Thu, 14 Nov 2024 00:06:21 +0530 Subject: [PATCH] fix: dropdown toggle functionality (#8476) Fixes: #8468 --- .../src/modules/ui/layout/dropdown/components/Dropdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/Dropdown.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/Dropdown.tsx index 679d0fc27..2ec7a8471 100644 --- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/Dropdown.tsx +++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/Dropdown.tsx @@ -113,7 +113,7 @@ export const Dropdown = ({ }; useListenClickOutsideV2({ - refs: [refs.floating], + refs: [refs.floating, refs.domReference], listenerId: dropdownId, callback: () => { onClickOutside?.();