Skip to content
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

[EuiTooltip][KEYBOARD]: Would we consider adding ESC keypress to dismiss the tooltip? #7741

Closed
1Copenut opened this issue May 7, 2024 · 0 comments · Fixed by #7751
Closed

Comments

@1Copenut
Copy link
Contributor

1Copenut commented May 7, 2024

Is your feature request related to a problem? Please describe.
We've had a request to add an ESC keypress feature to dismiss our EuiTooltip without requiring keyboard users to tab away and possibly lose their place.

Describe the solution you'd like
The EuiTooltip would have a new feature added to listen for the ESC keypress event. If the tooltip is in view, it would be closed and focus would stay on the triggering element.

I'm asking in a feature request vs. a PR because this component is widely used, and my bandwidth is constrained atm.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants