Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

closing modal window through ESC key

vikas jain
1 decade ago Mar 20, 2010 6:24am

hello everyone,

I have a question regarding modal window. I want to close the modal window by hitting 'Escape Key' on keyboard. So Please help me out with your suggestions and solutions?


Jouni Koivuviita
1 decade ago Mar 22, 2010 8:56am
vikas jain
1 decade ago Mar 24, 2010 11:09am
Jonatan Kronqvist
1 decade ago Mar 25, 2010 1:52pm


The first example in this chapter of the book shows you how to use multiple ShortcutActions.