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

Broken Example - Mapchart with tooltip #338

Open
morlynco opened this issue Aug 20, 2023 · 2 comments
Open

Broken Example - Mapchart with tooltip #338

morlynco opened this issue Aug 20, 2023 · 2 comments

Comments

@morlynco
Copy link

https://www.react-simple-maps.io/examples/map-chart-with-tooltip/

image

@berezovskyicom
Copy link

Hi, here's a link to a fixed version.
Basically latest version of react-tooltip (v5 at the date of writing) has changed the way of importing a component.
Something to add personally - use data-tooltip-float={true} so that the tooltip would follow the mouse position when it moves.

@berezovskyicom
Copy link

I could also update docs but I cannot find a repo for website, probably it's private.
If it's not, would appreciate if someone could send me a link so I could make a pr with this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants