Skip to content

Commit

Permalink
Fixed #1667 - Tooltip with showDelay appears despite cursor has alr…
Browse files Browse the repository at this point in the history
…eady left the Input
  • Loading branch information
mertsincan committed Nov 23, 2020
1 parent 18be7fb commit 2c4aa65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ export class Tooltip extends Component {
}

hide(e) {
this.clearTimeouts();

if (this.state.visible) {
this.sendCallback(this.props.onBeforeHide, { originalEvent: e, target: this.currentTarget });
this.applyDelay('hideDelay', () => {
Expand Down

0 comments on commit 2c4aa65

Please sign in to comment.