Skip to content

question: multiple tooltips for different types of data events #654

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

Closed
bolducp opened this issue Dec 9, 2020 · 2 comments
Closed

question: multiple tooltips for different types of data events #654

bolducp opened this issue Dec 9, 2020 · 2 comments

Comments

@bolducp
Copy link

bolducp commented Dec 9, 2020

Thanks so much for your work on this great library!

I haven't been able to find anything in the docs or to get this to work locally on my own, so perhaps it isn't possible, but I thought I'd ask just to be sure.

Is there anyway to have an element that corresponds to two different tooltips? Specifically, I would like for one message to appear in a tooltip when I hover over the element, and I would like for different content to appear when I click on the element.

Thanks!

@IGOLz
Copy link

IGOLz commented Sep 23, 2022

Have you fixed this? Need it too

@danielbarion
Copy link
Member

Hi, can you guys take a look at V5 PR, please? #820

Also, in V5, you guys can use this doc for this case, in the example we are changing the anchor, but if we change the anchor or the content, the tooltip will be updated, so, you can manage the content as you want.

https://react-tooltip.com/docs/examples/state

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

No branches or pull requests

3 participants