You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When an element is set to display a tooltip (e.g. using data-tooltip-id), and that tooltip has a delayShow (e.g. 300ms), when the user triggers the tooltip (by e.g. hovering over the element), but the element is unmounted before the delayShow interval (e.g. after ~200ms), the tooltip for another element (always seems to be the element which is declared first) will be displayed.
Describe the bug
When an element is set to display a tooltip (e.g. using
data-tooltip-id
), and that tooltip has adelayShow
(e.g. 300ms), when the user triggers the tooltip (by e.g. hovering over the element), but the element is unmounted before thedelayShow
interval (e.g. after ~200ms), the tooltip for another element (always seems to be the element which is declared first) will be displayed.Version of Package
v5.14.0
To Reproduce
See repro repo: https://github.com/knubie/react-tooltip-demo
It seems that the mouse should not move before the "phantom" tooltip is displayed.
Expected behavior
When the element is unmounted, no tooltip should be displayed.
Screenshots
tooltip_bug2.mp4
Desktop (please complete the following information if possible or delete this section):
The text was updated successfully, but these errors were encountered: