From 8c2f3a7a0eef60201d9f06670b9ebc0f51a281a1 Mon Sep 17 00:00:00 2001 From: wisonic Date: Fri, 7 Mar 2025 17:02:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E6=94=BE=E5=A4=A7=E4=B9=8B=E5=90=8E=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/js/panel/common/common_antv.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index 9401dc5965..11dde12d3f 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -1366,6 +1366,8 @@ export function getTooltipContainer(id) { let wrapperDom = document.getElementById(G2_TOOLTIP_WRAPPER) if (!wrapperDom) { wrapperDom = document.createElement('div') + wrapperDom.style.position = 'absolute' + wrapperDom.style.zIndex = '9999' wrapperDom.id = G2_TOOLTIP_WRAPPER document.body.appendChild(wrapperDom) }