Skip to content

Commit

Permalink
fix(ui-tooltip): ensure Esc key closes only the Tooltip when inside a…
Browse files Browse the repository at this point in the history
… Modal
  • Loading branch information
ToMESSKa authored and matyasf committed Feb 3, 2025
1 parent 910b34d commit 0e6e1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui-tooltip/src/Tooltip/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class Tooltip extends Component<TooltipProps, TooltipState> {
defaultIsShowingContent={defaultIsShowingContent}
on={on}
shouldRenderOffscreen
shouldReturnFocus={false}
shouldReturnFocus={true}
placement={placement}
color={color === 'primary' ? 'primary-inverse' : 'primary'}
mountNode={mountNode}
Expand Down

0 comments on commit 0e6e1e4

Please sign in to comment.