]> source.dussan.org Git - vaadin-framework.git/commit
Backspace in modal doesn't make browser navigation (#13180)
authorGuillermo Alvarez <guillermo@vaadin.com>
Wed, 13 Aug 2014 11:40:38 +0000 (14:40 +0300)
committerVaadin Code Review <review@vaadin.com>
Thu, 4 Sep 2014 13:16:03 +0000 (13:16 +0000)
commitd6853c436e5acc0374cd73ce32d8e51c5b44f553
tree59bf7b2eb8a999aedaa694b30d478d8e4c3a942d
parentd71ae18e355468487a947c84d0f92ed9c44b002e
Backspace in modal doesn't make browser navigation (#13180)

In a modal window if focus is not in an editable component
the backspace default action is prevented.
Also when focus is on bottom or top components.

Change-Id: I53f0922e5ddff142e2d540be52e70c7d23d1b585
client/src/com/vaadin/client/Util.java
client/src/com/vaadin/client/ui/VWindow.java
uitest/src/com/vaadin/tests/components/window/BackspaceKeyWithModalOpened.java
uitest/src/com/vaadin/tests/components/window/BackspaceKeyWithModalOpenedTest.java