From 68c8c1f0077ae667c78e8de56e60ae68da98f5ca Mon Sep 17 00:00:00 2001 From: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com> Date: Thu, 25 Apr 2024 16:55:44 -0400 Subject: [PATCH] [v11.0.x] Tooltips: Ensure new viz tooltips are visible within modals (alternative solution) (#86954) Tooltips: Ensure new viz tooltips are visible within modals (alternative solution) (#86716) fix: ensure new viz tooltips are visible within modals Co-authored-by: Leon Sorokin (cherry picked from commit ff761bb7d6a61979b32f3b0c8ec9858529c9f244) --- .../grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx b/packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx index c93e7081ea3..174699eec39 100644 --- a/packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx +++ b/packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx @@ -574,7 +574,7 @@ const getStyles = (theme: GrafanaTheme2, maxWidth?: number, maxHeight?: number) tooltipWrapper: css({ top: 0, left: 0, - zIndex: theme.zIndex.tooltip, + zIndex: theme.zIndex.portal, whiteSpace: 'pre', borderRadius: theme.shape.radius.default, position: 'fixed',