From 7497704e17bc72a8fda06459b6cc8fe014c45f2f Mon Sep 17 00:00:00 2001 From: Olga Streltsova Date: Thu, 28 Jun 2018 11:55:28 -0700 Subject: [PATCH] unmountHTMLWhenHide not working Please see https://github.com/tvkhoa/react-tippy/issues/40 --- src/Tooltip/js/tippy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tooltip/js/tippy.js b/src/Tooltip/js/tippy.js index 4844b25..cd10172 100644 --- a/src/Tooltip/js/tippy.js +++ b/src/Tooltip/js/tippy.js @@ -323,7 +323,7 @@ class Tippy { if ( isVisible(popper) || !appendTo.contains(popper) || - getComputedStyle(tooltip).opacity === '1' + getComputedStyle(tooltip).opacity !== '1' ) return el.removeEventListener('mousemove', followCursorHandler)