From 326acfe9a5d84b0b4e98a28731e3641a06848c51 Mon Sep 17 00:00:00 2001 From: Weiko Date: Fri, 14 Mar 2025 16:31:38 +0100 Subject: [PATCH] Fix activity target picker click outside not closing the menu (#10897) ## Context onClickOutside was not implemented after the refactoring --- .../inline-cell/components/ActivityTargetsInlineCell.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetsInlineCell.tsx b/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetsInlineCell.tsx index 90620554d..227e84aae 100644 --- a/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetsInlineCell.tsx +++ b/packages/twenty-front/src/modules/activities/inline-cell/components/ActivityTargetsInlineCell.tsx @@ -90,7 +90,9 @@ export const ActivityTargetsInlineCell = ({ editModeContent: ( {}} + onClickOutside={() => { + closeInlineCell(); + }} onChange={(morphItem) => { updateActivityTargetFromInlineCell({ recordPickerInstanceId: multipleRecordPickerInstanceId,