Skip to content

fix(tooltip): prevent closing of Esc-key-closing parent components when dismissing a tooltip with Esc #6343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jcfranco
Copy link
Member

@jcfranco jcfranco commented Jan 25, 2023

Related Issue: #6292

Summary

This updates tooltip manager to cancel the Esc key press if handled to prevent closing parent components that also close with Esc.

Additionally, extracts a utility to get the tooltip's effective reference element.

@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Jan 25, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2023

This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.

@github-actions github-actions bot added the Stale Issues or pull requests that have not had recent activity. label Feb 2, 2023
@jcfranco jcfranco marked this pull request as ready for review February 8, 2023 01:52
@jcfranco jcfranco requested a review from a team as a code owner February 8, 2023 01:52
Copy link
Member

@benelan benelan left a comment

Choose a reason for hiding this comment

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

👍

@jcfranco jcfranco added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Feb 8, 2023
@jcfranco jcfranco merged commit b4cbf54 into master Feb 8, 2023
@jcfranco jcfranco deleted the jcfranco/6292-cancel-handled-escape-key-in-tooltips branch February 8, 2023 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. pr ready for visual snapshots Adding this label will run visual snapshot testing. Stale Issues or pull requests that have not had recent activity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants