Skip to content

Commit

Permalink
fix(src/index.js): hide tooltip if blurred (tabbed out) (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshaw22 committed May 6, 2021
1 parent c263aa0 commit e0a2a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -297,7 +297,7 @@ class ReactTooltip extends React.Component {
);
}
target.addEventListener('mouseleave', this.hideTooltip, isCaptureMode);
target.addEventListener('blur', this.showTooltip, isCaptureMode);
target.addEventListener('blur', this.hideTooltip, isCaptureMode);
});
}

Expand Down

0 comments on commit e0a2a1d

Please sign in to comment.