Skip to content

Commit e0a2a1d

Browse files
authored
fix(src/index.js): hide tooltip if blurred (tabbed out) (#699)
1 parent c263aa0 commit e0a2a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class ReactTooltip extends React.Component {
297297
);
298298
}
299299
target.addEventListener('mouseleave', this.hideTooltip, isCaptureMode);
300-
target.addEventListener('blur', this.showTooltip, isCaptureMode);
300+
target.addEventListener('blur', this.hideTooltip, isCaptureMode);
301301
});
302302
}
303303

0 commit comments

Comments
 (0)