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

[v5] Tooltip交互异常,设置了tooltip的交互后,图表中的tooltip会卡住不动 #4550

Closed
erlijianzuo opened this issue Jan 5, 2023 · 6 comments · Fixed by #4582
Assignees
Milestone

Comments

@erlijianzuo
Copy link

以下是复现链接
https://g2.antv.antgroup.com/zh/examples/interaction/interaction#tooltip

bug.mov
@pearmini
Copy link
Member

pearmini commented Jan 6, 2023

这个例子现在确实有点问题,我现在电脑的行为是:首次进入页面,tooltip 失效;点击右上角的运行按钮,tooltip 正常工作。

image

可以先试试点一下这个按钮看看效果吗?

@pearmini pearmini self-assigned this Jan 6, 2023
@erlijianzuo
Copy link
Author

点击右上角的运行按钮后还是有问题,有时候tooltip会消失。
navigator.userAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36'

example.mov

@pearmini
Copy link
Member

pearmini commented Jan 6, 2023

@erlijianzuo
Copy link
Author

erlijianzuo commented Jan 6, 2023

后面的案例是正常的

image

@pearmini
Copy link
Member

pearmini commented Jan 6, 2023

好的,我排查一下

@pearmini
Copy link
Member

pearmini commented Jan 6, 2023

这个应该和 #4533 是同一个问题:重新渲染(改变大小)没有更新交互。这个案例 正常应该是因为它的 autoFit 为 false,没有重新渲染。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants