Skip to content

Commit

Permalink
fix: Make tooltips fade out (reactstrap#2041)
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Tsang <6854874+kyletsang@users.noreply.github.com>
  • Loading branch information
hsource and kyletsang committed Dec 23, 2020
1 parent a330ce6 commit 3fb5476
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/TooltipPopoverWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,10 @@ class TooltipPopoverWrapper extends React.Component {
}

render() {
if (!this.props.isOpen) {
return null;
if (this.props.isOpen) {
this.updateTarget();
}

this.updateTarget();

const {
className,
cssModule,
Expand Down

0 comments on commit 3fb5476

Please sign in to comment.