atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
12.02k stars 521 forks source link

is there a way to make the tooltip sticky after click? #984

Closed francofgp closed 3 years ago

francofgp commented 3 years ago

Somebody knows a way to do something like the following:

When hover over the event, show the tooltip. When event is clicked, keep tooltip on the screen (sticky) When event is clicked again, hide the tooltip. Hide tooltip when different event is clicked.

I would like to have such behavior, but I don't know how to achieve it.

atomiks commented 3 years ago

trigger: "mouseenter click"

francofgp commented 3 years ago

Thanks, I appreciate so much the quick answer