prime.js icon indicating copy to clipboard operation
prime.js copied to clipboard

Support the Escape key for dismissing dialogs

Open robotdan opened this issue 6 years ago • 0 comments

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.

robotdan avatar Dec 30 '19 00:12 robotdan