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

tooltip on mobile #300

Open
xtimbeau opened this issue Jul 5, 2024 · 2 comments
Open

tooltip on mobile #300

xtimbeau opened this issue Jul 5, 2024 · 2 comments

Comments

@xtimbeau
Copy link

xtimbeau commented Jul 5, 2024

Hi, using tooltip on mobile leads to a strange behaviour, may be dus to an incorrect use of ggiraph.
The tooltip apperas when you "click" for the first time, but is not holding the second ar further time you click on an active zone (it falshes briefly and disappears). I have tested that on an iphone 17.5.1 on Safari and Edge and Chrome.
I was not able to make tooltip work on mobile mode in developper mode on Edge.
It is working fine on desktop (so far as I have tested, Edge, Safari, Windows, MacOS).

You have an example of such a behaviour there :
example

Thanks for this fantastic package !

@theobroekman
Copy link

I encounter the same problem. After reloading the page, the tooltip for the first selected point again appears as it should, but the next selected points fade away very fast. Reload page, and so on,

@theobroekman
Copy link

I tried a bit with the delay parameters. These values give in my case a workable solution:
opts_tooltip(delay_mouseover = 10,delay_mouseout = 3000)

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