summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-02-23 13:07:01 +0000
committerArtur Signell <artur.signell@itmill.com>2010-02-23 13:07:01 +0000
commitfecae3d084c77bfb72d212eac235796f23752c8c (patch)
treef4fcc0c983a005c67b2698b805ad98e09d5b30d9
parent512aa1851012bfcf6e2758cf169d88655b99e429 (diff)
downloadvaadin-framework-fecae3d084c77bfb72d212eac235796f23752c8c.tar.gz
vaadin-framework-fecae3d084c77bfb72d212eac235796f23752c8c.zip
Fixed #4206 - "Setting scroll position doesn't work with Webkit browsers" for Panel
svn changeset:11499/svn branch:6.3
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VPanel.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VPanel.java b/src/com/vaadin/terminal/gwt/client/ui/VPanel.java
index 85ad8399c2..d41a739655 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VPanel.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VPanel.java
@@ -189,7 +189,6 @@ public class VPanel extends SimplePanel implements Container {
}
layout.updateFromUIDL(layoutUidl, client);
- runHacks(false);
// We may have actions attached to this panel
if (uidl.getChildCount() > 1) {
final int cnt = uidl.getChildCount();
@@ -224,6 +223,10 @@ public class VPanel extends SimplePanel implements Container {
scrollLeft = contentNode.getScrollLeft();
}
+ // Must be run after scrollTop is set as Webkit overflow fix re-sets the
+ // scrollTop
+ runHacks(false);
+
rendering = false;
}