antvis/G2
The issue has been closed
[v5] 调整窗口大小后,鼠标获取画布内容和实际的不对应 #4539
lxliang912 posted onGitHub
以下是mac录屏操作复现场景
tooltip显示的数据与x轴不符合 https://user-images.githubusercontent.com/9337243/209919434-5f58e65b-9a2e-4549-b20a-ca6291a84259.mov
折线图的提示竖线在改变窗口后与x轴位置不一致 https://user-images.githubusercontent.com/9337243/209919813-ecf19abb-a236-4265-9232-26269216637b.mov
上面两个情况应该是同一个原因造成的,似乎是没有拿到更新后画布数据