diff --git a/dist/react-tooltip.js b/dist/react-tooltip.js index 79c4165bc..fdcb1347e 100644 --- a/dist/react-tooltip.js +++ b/dist/react-tooltip.js @@ -148,6 +148,7 @@ var ReactTooltip = (function (_Component) { }; ReactTooltip.prototype.componentWillUnmount = function componentWillUnmount() { + clearTimeout(this.delayShowLoop); this.unbindListener(); this.removeScrollListener(); this.mount = false; diff --git a/src/index.js b/src/index.js index 93868c664..c2bde3de4 100644 --- a/src/index.js +++ b/src/index.js @@ -107,6 +107,7 @@ export default class ReactTooltip extends Component { } componentWillUnmount () { + clearTimeout(this.delayShowLoop) this.unbindListener() this.removeScrollListener() this.mount = false