Skip to content

Commit

Permalink
fix(tootlip): fixes tabbing issue (#9545)
Browse files Browse the repository at this point in the history
* fix(tootlip): fixes tabbing issue

* remove test story
  • Loading branch information
andreancardona authored Aug 31, 2021
1 parent fdff63e commit 640a309
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 @@ -398,7 +398,7 @@ class Tooltip extends Component {
};

handleKeyPress = (event) => {
if (keyDownMatch(event, [keys.Escape])) {
if (keyDownMatch(event, [keys.Escape, keys.Tab])) {
event.stopPropagation();
this._handleUserInputOpenClose(event, { open: false });
}
Expand Down

0 comments on commit 640a309

Please sign in to comment.