]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #6213
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 18 Apr 2011 12:22:58 +0000 (12:22 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 18 Apr 2011 12:22:58 +0000 (12:22 +0000)
svn changeset:18357/svn branch:6.5

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

index 1fff6cfa5e27e9c53c78bceba00b3cd957551805..0f755c67378b711d220d2da53e274363a0dacc56 100644 (file)
@@ -4783,6 +4783,16 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler,
                     Util.runWebkitOverflowAutoFix(scrollBodyPanel.getElement());
                 }
             });
+
+            if (BrowserInfo.get().isIE()) {
+                /*
+                 * IE does not fire onscroll event if scroll position is
+                 * reverted to 0 due to the content element size growth. Ensure
+                 * headers are in sync with content manually. Safe to use null
+                 * event as we don't actually use the event object in listener.
+                 */
+                onScroll(null);
+            }
         }
     };