Skip to content

Commit

Permalink
fix(Tooltip): clear timers on component unmount (#1180)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonovalex authored and TheSharpieOne committed Aug 20, 2018
1 parent 274fedb commit 9fea409
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tooltip.js
Expand Up @@ -82,6 +82,8 @@ class Tooltip extends React.Component {
}

componentWillUnmount() {
this.clearHideTimeout();
this.clearShowTimeout();
this.removeTargetEvents();
}

Expand Down

0 comments on commit 9fea409

Please sign in to comment.