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.
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?
Yes it is possible. You need to add a ShortcutAction for the Window. See the corresponding chapter from the Book of Vaadin.
Thank you for suggestion. But I am using shortcutaction for enter key when user login so how should i use Escape key shortcut action ?
I am not getting from the book. Plz help me out.
Thanks in advance.
The first example in this chapter of the book shows you how to use multiple ShortcutActions.