svn changeset:11497/svn branch:6.3
onResize(Window.getClientWidth(), Window.getClientHeight());
- if (BrowserInfo.get().isSafari()) {
- Util.runWebkitOverflowAutoFix(getElement());
- }
-
// finally set scroll position from UIDL
if (uidl.hasVariable("scrollTop")) {
scrollable = true;
scrollable = false;
}
+ // Safari workaround must be run after scrollTop is updated as it sets
+ // scrollTop using a deferred command.
+ if (BrowserInfo.get().isSafari()) {
+ Util.runWebkitOverflowAutoFix(getElement());
+ }
+
rendering = false;
}