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

Support the Escape key for dismissing dialogs #18

Open
robotdan opened this issue Dec 30, 2019 · 0 comments
Open

Support the Escape key for dismissing dialogs #18

robotdan opened this issue Dec 30, 2019 · 0 comments

Comments

@robotdan
Copy link
Member

robotdan commented Dec 30, 2019

I have a prototype that mostly works that uses the Overlay object to add dialogs to a stack and then just push and pop them off to manage the open dialog instead of doing a lot of work with zindex.

Then the Overlay can registerer a single key up handler on the body and watch for the ESCAPE key and pop the last dialog as it closes it.

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

1 participant