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.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
window remove escape shorcut
I'm working with vaadin 7.6.1 release.
In vaadin 7.6 release notes.
https://vaadin.com/download/release/7.6/7.6.0/release-notes.html
This issue was fixed with the ticket, "#17383 Window should not have ESC close shortcut hardcoded".
But i can't get it to work properly.
example:
Window v= new Window();
v.setWidth("50%");
v.setHeight("50%");
v.removeCloseShortcut(KeyCode.ESCAPE, null);
UI.getCurrent().addWindow(v);
when i press escape key the window is closed it,any idea?
thank you.
Alejandro Duarte: Try v.removeAllCloseShortcuts()
Thank you.
it worked properly.