]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixes #3760: Scrollbars are missing in Safari/Chrome (regression from changeset ...
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Wed, 25 Nov 2009 07:56:38 +0000 (07:56 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Wed, 25 Nov 2009 07:56:38 +0000 (07:56 +0000)
svn changeset:10002/svn branch:6.2

src/com/vaadin/terminal/gwt/client/Util.java

index cf410a474bf571416d67b97c697b49db48d7bdc8..9824b31e47a984ae04d6ac03d68df318dc7ec21b 100644 (file)
@@ -545,6 +545,9 @@ public class Util {
         if (BrowserInfo.get().getWebkitVersion() > 0) {
             final String originalOverflow = elem.getStyle().getProperty(
                     "overflow");
+            if ("hidden".equals(originalOverflow)) {
+                return;
+            }
             elem.getStyle().setProperty("overflow", "hidden");
 
             DeferredCommand.addCommand(new Command() {