Skip to content

Commit

Permalink
fix(Tooltip): restore text selection functionality (#7435)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
emyarod and kodiakhq[bot] committed Dec 14, 2020
1 parent e383d2e commit a376747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ class Tooltip extends Component {
this._handleUserInputOpenClose(evt, { open: true });
}
this._tooltipDismissed = false;
} else {
} else if (state !== 'out') {
// Note: SVGElement in IE11 does not have `.contains()`
const { current: triggerEl } = this._triggerRef;
const shouldPreventClose =
Expand Down

0 comments on commit a376747

Please sign in to comment.