Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞bug: tootltip mount 在 body 上时,如果 chart 容器本身可滚动,tooltip 显示位置 #6399

Closed
wjgogogo opened this issue Aug 15, 2024 · 1 comment · Fixed by #6469

Comments

@wjgogogo
Copy link

问题描述

g2 5.2.2在 mount 为 body 时,如果 chart 所在的容器是可以滚动的,在滚动后,tooltip的位置为错位

重现链接

No response

重现步骤

官方demo就能复现:https://g2.antv.antgroup.com/zh/examples/component/tooltip/#tooltip-crosshairs

  1. 将 chart 容器增大到可滚动,比如 4000px
  2. mount 设置为 body
    image

2024-08-15 10 00 12

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@vxow
Copy link

vxow commented Sep 10, 2024

一样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants