atomiks / tippyjs

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

data-reference-hidden not working correctly on animation #1154

Open shashank-23002 opened 8 months ago

shashank-23002 commented 8 months ago

Bug description

When animation is applied on the reference element , data-reference-hidden property doesn't accurately determine whether the element is hidden . This leads to ambiguity in the visibility of tooltips as they do not disappear when the reference element is hovered under transition.

Reproduction

CodePen link: https://codepen.io/shashank-23002/pen/KKEvXKY

In the above codepen link , if you hover over the hide button and mouseenter the 'Click Me' button when it is under ease in out transition , the tooltip shown does not dissapear even after the button is vanished.