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

BarCanvas tooltips fail on 0.80.0 #2216

Closed elliothomerwilkinson closed 1 year ago

elliothomerwilkinson commented 1 year ago

Describe/explain the bug Default tooltips no longer display on Canvas Bar charts and an error is emitted to the console

To Reproduce

  1. Go to the nivo rocks website Canvas Bar demo https://nivo.rocks/bar/canvas/
  2. Open the dev tools console
  3. Hover your mouse over the bar chart
  4. Observe no tooltip is shown
  5. Observe an error is emitted to the console t.getBBox is not a function

Expected behavior Tooltip should display in a similar fashion to the SVG Bar demo

Screenshots

image

Additional context Only started occurring on version 0.80.0

ansgarsteinkamp commented 1 year ago

Same problem here

plouc commented 1 year ago

This is a duplicate of https://github.com/plouc/nivo/issues/2162