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

Place tooltip at specified position? #8

Open
hadley opened this issue Apr 22, 2020 · 1 comment
Open

Place tooltip at specified position? #8

hadley opened this issue Apr 22, 2020 · 1 comment

Comments

@hadley
Copy link

hadley commented Apr 22, 2020

In conjunction with plotOutput("plot", hover = clickOpts("hover")), it'd be cool if you could place a tooltip on a plot, using input$hover$coords_img to place it exactly where the mouse is. Is this something that tippy.js supports?

@JohnCoene
Copy link
Owner

Hi Hadley,

Apologies coming back to you on this so late, life's been a bit hectic lately.

I don't think tippy.js is the right library for this as the trigger has to be a CSS selector. It's an interesting idea, I will see if I can find a solution elsewhere. To the best of my understand David Gohel rebuilt this functionality with d3 for ggiraph.

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