ant-design-charts icon indicating copy to clipboard operation
ant-design-charts copied to clipboard

🐛[BUG] Tooltip disappearing on data updates

Open tothandras opened this issue 3 years ago • 4 comments

bug description

https://codesandbox.io/s/friendly-jang-oxrwn?file=/App.tsx

  1. hover over the chart, leave your cursor there
  2. wait for a data update
  3. [bug] tooltip usually disappears or the marker appears at an incorrect position

ant-design-charts: 1.2.9

note

In the G2 docs, the tooltip behaves as expected: https://g2plot.antv.vision/en/docs/api/plot-api/#4-changedata

tothandras avatar Aug 18 '21 14:08 tothandras

@tothandras Did you ever find a fix for this?

ZLester avatar Jun 10 '22 21:06 ZLester

@lxfu1 This appears to still be an issue in 1.3.6 for the DualAxes chart as well

ZLester avatar Jun 10 '22 21:06 ZLester

@ZLester Unfortunately, no. It wasn't a priority for us, just annoying from a user perspective.

tothandras avatar Jun 10 '22 23:06 tothandras

I did a little digging and discovered the tooltip disappearing for Line is a problem in Ant charts, while it happens in g2plot for DualAxes. Filed an issue for DualAxes there https://github.com/antvis/G2Plot/issues/3257

ZLester avatar Jun 21 '22 18:06 ZLester

The link you provided is normal, https://codesandbox.io/s/friendly-jang-oxrwn?file=/App.tsx

lxfu1 avatar Feb 14 '23 04:02 lxfu1