KABBOUCHI / vue-tippy

VueJS Tooltip powered by Tippy.js
https://vue-tippy.netlify.app
MIT License
722 stars 86 forks source link

incompatibility issue regarding behavior of "trigger" prop between Vue2 and Vue3 versions of the package #297

Closed daniilgri closed 10 months ago

daniilgri commented 10 months ago

In Vue2 when we have "trigger" prop as "mouseenter manual" it works like this:

  1. The tooltip opens when mouse over a trigger element
  2. The tooltip disappears when the mouse leaves an area of a trigger element or when user clicks on trigger element

In Vue3 when we have the "trigger" prop as "mouseenter manual" it works like this:

  1. The tooltip opens when mouse over a trigger element
  2. The tooltip disappears when the mouse leaves an area of a trigger element and it takes two times to click on a trigger element to make the tooltip disappear

So, the point is why do I need to click 2 times in the same trigger type to close the tooltip instead of one click?

daniilgri commented 10 months ago

UPD: checked "mouseenter click manual" in vue3 and it works the same as "mouseenter manual" in vue2