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

@GCheung55 GCheung55 commented Aug 24, 2017

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

@rwwagner90

This comment has been minimized.

Copy link
Collaborator

@rwwagner90 rwwagner90 commented Aug 24, 2017

@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

This comment has been minimized.

Copy link
Owner

@kybishop kybishop commented Aug 25, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.