]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8722 Make subwindows touch scrollable
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Mon, 7 May 2012 13:24:18 +0000 (13:24 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Mon, 7 May 2012 13:24:18 +0000 (13:24 +0000)
svn changeset:23688/svn branch:6.8

src/com/vaadin/terminal/gwt/client/ui/VWindow.java

index 2355a9c65a1808d989b7bee52fca717297a97f12..d756eaf8b0423af134c0f033358a72be465be837 100644 (file)
@@ -205,6 +205,9 @@ public class VWindow extends VOverlay implements Container,
         contentPanel.addKeyDownHandler(this);
         contentPanel.addFocusHandler(this);
         contentPanel.addBlurHandler(this);
+
+        TouchScrollDelegate.enableTouchScrolling(this, getContainerElement()
+                .getFirstChildElement());
     }
 
     public void bringToFront() {