Skip to content

Commit 0e6e1e4

Browse files
ToMESSKamatyasf
authored andcommitted
fix(ui-tooltip): ensure Esc key closes only the Tooltip when inside a Modal
1 parent 910b34d commit 0e6e1e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui-tooltip/src/Tooltip/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class Tooltip extends Component<TooltipProps, TooltipState> {
159159
defaultIsShowingContent={defaultIsShowingContent}
160160
on={on}
161161
shouldRenderOffscreen
162-
shouldReturnFocus={false}
162+
shouldReturnFocus={true}
163163
placement={placement}
164164
color={color === 'primary' ? 'primary-inverse' : 'primary'}
165165
mountNode={mountNode}

0 commit comments

Comments
 (0)