Skip to content

Commit

Permalink
Merge branch 'main' into chore/update-babel-versions-apr-2021
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored May 3, 2021
2 parents e2a4a8f + 4acc699 commit 4b69ba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/Tooltip/Tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ class Tooltip extends Component {
handleEscKeyPress = (event) => {
const { open } = this.isControlled ? this.props : this.state;
if (open && keyDownMatch(event, [keys.Escape])) {
event.stopPropagation();
return this._handleUserInputOpenClose(event, { open: false });
}
};
Expand Down

0 comments on commit 4b69ba9

Please sign in to comment.