Skip to content

Commit

Permalink
Fix(TooltipPopoverWrapper): don't set delay if popover already open (r…
Browse files Browse the repository at this point in the history
  • Loading branch information
EndiM authored and TheSharpieOne committed Jan 31, 2019
1 parent eb4ee93 commit 3289569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TooltipPopoverWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class TooltipPopoverWrapper extends React.Component {
}
if (this.props.isOpen && !isInDOMSubtree(e.target, this._popover)) {
this.hideWithDelay(e);
} else {
} else if (!this.props.isOpen) {
this.showWithDelay(e);
}
} else if (triggers.indexOf('click') > -1 && isInDOMSubtree(e.target, this._target)) {
Expand Down

0 comments on commit 3289569

Please sign in to comment.