From a05551b05cf74c0af9ef219ea4cba08bd401d03b Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Tue, 26 May 2020 12:39:08 +0200 Subject: [PATCH] increase context menu z-index --- .../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);