Skip to content

fix(angular/tooltip): not closing if escape is pressed while trigger isn't focused#1034

Merged
jeripeierSBB merged 1 commit into
masterfrom
tooltip-fix
Jan 17, 2022
Merged

fix(angular/tooltip): not closing if escape is pressed while trigger isn't focused#1034
jeripeierSBB merged 1 commit into
masterfrom
tooltip-fix

Conversation

@jeripeierSBB
Copy link
Copy Markdown
Collaborator

Currently, the tooltip's keydown handler is on the trigger, which means that it won't fire
if the trigger doesn't have focus. This could happen when a tooltip was opened by
hovering over the trigger. These changes use the OverlayKeyboardDispatcher to
handle the events instead.
angular/components#14434

…isn't focused

Currently, the tooltip's `keydown` handler is on the trigger, which means that it won't fire
if the trigger doesn't have focus. This could happen when a tooltip was opened by
hovering over the trigger. These changes use the `OverlayKeyboardDispatcher` to
handle the events instead.
angular/components#14434
@github-actions
Copy link
Copy Markdown

Staging ready from 44f6aa9 at 1/17/2022, 8:57:41 AM:

Copy link
Copy Markdown
Collaborator

@kyubisation kyubisation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@jeripeierSBB jeripeierSBB merged commit fae3eff into master Jan 17, 2022
@jeripeierSBB jeripeierSBB deleted the tooltip-fix branch January 17, 2022 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants