atomiks / tippyjs

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

interactiveDebounce interference when using singletons #1023

Open benignant opened 2 years ago

benignant commented 2 years ago

Bug description

The interactiveDebounce feature causes interference between tooltips when using singletons unless both tooltips are interactive and have the same interactiveDebounce value.

Reproduction

  1. One tooltip is interactive and one isn't: https://jsfiddle.net/2a56gemu/3/
  2. One tooltip uses interactiveDebounce and one doesn't: https://jsfiddle.net/513mgLk7/
  3. Tooltips have different interactiveDebounce values: https://jsfiddle.net/dpxbt7fu/

Hover over Button 1, then move to Button 2, then back to Button 1. The tooltip dismisses itself. You can also try a few other maneuvers with similar results.