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; }