]> source.dussan.org Git - vaadin-framework.git/commit
Fixes the handling of the scroll position of a Window (#12736)
authorMika Murtojarvi <mika@vaadin.com>
Tue, 29 Oct 2013 13:22:45 +0000 (15:22 +0200)
committerVaadin Code Review <review@vaadin.com>
Wed, 30 Oct 2013 13:39:05 +0000 (13:39 +0000)
commit017bd0684c7d6c8475c8b43514e6f3998095c8d6
treef421a4ae7e4b10e7339f6f1acc56b66aa0f0b15a
parent878c2bd4643c9cf08fb0ed2da8bae7f7a626ce8b
Fixes the handling of the scroll position of a Window (#12736)

After the first commit the same fix has been applied also for panels, in
addition to other suggested changes.

The scroll position of a Window is now memorized before applying
the fix for bug #11994. The position is restored after the fix.

Because the scrolling issue is known to appear also in other components,
the fix for the scrolling has been moved to the Util class.

Change-Id: I5251011b5bede77a7fb18972e1d90016c0eccc23
client/src/com/vaadin/client/Util.java
client/src/com/vaadin/client/ui/VPanel.java
client/src/com/vaadin/client/ui/VWindow.java
uitest/src/com/vaadin/tests/components/window/ComboboxScrollableWindow.java [new file with mode: 0644]
uitest/src/com/vaadin/tests/components/window/ComboboxScrollableWindowTest.java [new file with mode: 0644]