plouc / nivo

nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries
https://nivo.rocks
MIT License
13.19k stars 1.03k forks source link

The Tooltip of the Responsive Sunburst Chart does not appear in the latest version (0.71.0) #1629

Closed evabat closed 3 years ago

evabat commented 3 years ago

It is the first time that I use these awesome components, you do a wonderful job.

However, it was impossible to make the default tooltip appear in the responsive sunburst chart. I tried all of the given examples. I even attempted adding custom tooltips with no luck.

It was weird because I had no issues with tooltips in the Responsive Line Chart, for example.

After downgrading to the previous version (0.70.1), it worked like a charm.

I thought that it would be useful for you to be aware of this issue :)

Thank you for your time and support.

wyze commented 3 years ago

Could you please provide a CodeSandbox that reproduces the issue? I am unable to reproduce it with the latest version. You can fork this as a starting template: https://codesandbox.io/s/nivo-sunburst-template-b24kg

Also, most of the time when the tooltip stops working for any chart, it is because not all nivo packages are on the same version. Please ensure you updated all charts and core to v0.71.0.

evabat commented 3 years ago

Yes, that was it, the difference in the version. I Installed the packages within a two days period and on the second day (release date) I got the newest version of sunburst but I did not have the same for core and line. I have updated everything and now they work fine. Thank you so much for the clarification!