diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-02-18 15:02:31 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-02-18 14:57:47 +0000 |
commit | f3ad9cad8d3c12e3e25574569186d52c79c4f2a1 (patch) | |
tree | d4f7eba968939729bfc60c598c84239623b34a91 /client | |
parent | 6949cd8109db726b92e80cffb3286c67ec7abb47 (diff) | |
download | vaadin-framework-f3ad9cad8d3c12e3e25574569186d52c79c4f2a1.tar.gz vaadin-framework-f3ad9cad8d3c12e3e25574569186d52c79c4f2a1.zip |
Don't measure VUI during updateFromUIDL (#11063)
Change-Id: Id4760652d9eeaae466e48ff468f905d7e2c867a1
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/ui/UIConnector.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/ui/UIConnector.java b/client/src/com/vaadin/client/ui/ui/UIConnector.java index 85e75b943e..800f809ade 100644 --- a/client/src/com/vaadin/client/ui/ui/UIConnector.java +++ b/client/src/com/vaadin/client/ui/ui/UIConnector.java @@ -20,6 +20,7 @@ import java.util.Iterator; import java.util.List; import com.google.gwt.core.client.Scheduler; +import com.google.gwt.core.client.Scheduler.ScheduledCommand; import com.google.gwt.dom.client.NativeEvent; import com.google.gwt.dom.client.Style; import com.google.gwt.dom.client.Style.Position; @@ -312,7 +313,12 @@ public class UIConnector extends AbstractSingleComponentContainerConnector if (firstPaint) { // Queue the initial window size to be sent with the following // request. - getWidget().sendClientResized(); + Scheduler.get().scheduleDeferred(new ScheduledCommand() { + @Override + public void execute() { + getWidget().sendClientResized(); + } + }); } getWidget().rendering = false; } |