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

hideOn support for pressing the escape key #36

Closed
GCheung55 opened this issue Aug 24, 2017 · 2 comments
Closed

hideOn support for pressing the escape key #36

GCheung55 opened this issue Aug 24, 2017 · 2 comments
Milestone

Comments

@GCheung55
Copy link
Contributor

According to https://www.w3.org/TR/wai-aria-practices/#tooltip, how would you advise closing the tooltip on ESC key press?

@RobbieTheWagner
Copy link
Collaborator

@GCheung55 we could add a listener on window for pressing escape and close all tooltips or this could be implemented manually be setting up your own listener and passing isShown=false to the tooltip.

@kybishop kybishop changed the title Advise on closing tooltip on ESC key press hideOn support for pressing the escape key Aug 25, 2017
@kybishop
Copy link
Collaborator

@GCheung55 seems like this is a default behavior we should support. Topic name changed to reflect that.

@kybishop kybishop added this to the 1.0 milestone Aug 25, 2017
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

No branches or pull requests

3 participants