From fc5b914609183b7bcebc1e01947a007c51e23514 Mon Sep 17 00:00:00 2001 From: Cristi Paval Date: Tue, 19 Nov 2024 15:06:14 +0200 Subject: [PATCH] Merge pull request #52752 from callstack-internal/fix/52744/context-menu-remains-open [CP] Fix: Context Menu Remains Open on Mweb (cherry picked from commit 206017d97088b20ae6cc88adca7931d05bf65e83) (CP triggered by mountiny) --- src/pages/home/report/ContextMenu/ReportActionContextMenu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ContextMenu/ReportActionContextMenu.ts b/src/pages/home/report/ContextMenu/ReportActionContextMenu.ts index df1f2cd5c9b8..bda7bb11a91a 100644 --- a/src/pages/home/report/ContextMenu/ReportActionContextMenu.ts +++ b/src/pages/home/report/ContextMenu/ReportActionContextMenu.ts @@ -64,7 +64,7 @@ function hideContextMenu(shouldDelay?: boolean, onHideCallback = () => {}) { return; } if (!shouldDelay) { - onHideCallback(); + contextMenuRef.current.hideContextMenu(onHideCallback); return; }