From cf623a175e239f0511d9b0968fe5b74c58a024d5 Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Wed, 27 May 2020 11:37:57 +0200 Subject: [PATCH] Show drilldown context menu over chart tooltip (#67311) --- .../ui_actions/public/context_menu/open_context_menu.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/ui_actions/public/context_menu/open_context_menu.tsx b/src/plugins/ui_actions/public/context_menu/open_context_menu.tsx index c723388c021e9..5892c184f8a81 100644 --- a/src/plugins/ui_actions/public/context_menu/open_context_menu.tsx +++ b/src/plugins/ui_actions/public/context_menu/open_context_menu.tsx @@ -36,7 +36,10 @@ function getOrCreateContainerElement() { container.style.left = getMouseX() + 'px'; container.style.top = y + 'px'; container.style.position = 'absolute'; - container.style.zIndex = '999'; + + // EUI tooltip uses 9000 + // have to make it larger to display menu on top of tooltips from charts + container.style.zIndex = '9999'; container.id = CONTAINER_ID; document.body.appendChild(container);