svn changeset:11501/svn branch:6.2
}
layout.updateFromUIDL(layoutUidl, client);
- runHacks(false);
// We may have actions attached to this panel
if (uidl.getChildCount() > 1) {
final int cnt = uidl.getChildCount();
scrollLeft = contentNode.getScrollLeft();
}
+ // Must be run after scrollTop is set as Webkit overflow fix re-sets the
+ // scrollTop
+ runHacks(false);
+
rendering = false;
}
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;
}