diff options
author | John Ahlroos <john@vaadin.com> | 2013-01-28 17:10:21 +0200 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2013-01-29 16:33:14 +0200 |
commit | 7606cd636683454cbb587d48d28dbcff5d154dac (patch) | |
tree | 05b8d7db5a301bf2a95f6153a0263cd9816f0f21 | |
parent | 35f2f4ffff97ac37c29dbadbb176329b8cf39a54 (diff) | |
download | vaadin-framework-7606cd636683454cbb587d48d28dbcff5d154dac.tar.gz vaadin-framework-7606cd636683454cbb587d48d28dbcff5d154dac.zip |
Fixed Tree not resizing itself after nodes are updated in IE8 #10697
Change-Id: I112b7b6b708629b0ed0b95e034970863ffd64b16
-rw-r--r-- | client/src/com/vaadin/client/ui/tree/TreeConnector.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/tree/TreeConnector.java b/client/src/com/vaadin/client/ui/tree/TreeConnector.java index e20ccbe422..d6d1cef8cc 100644 --- a/client/src/com/vaadin/client/ui/tree/TreeConnector.java +++ b/client/src/com/vaadin/client/ui/tree/TreeConnector.java @@ -142,6 +142,9 @@ public class TreeConnector extends AbstractComponentConnector implements getWidget().focusedNode.setFocused(false); } + // IE8 needs a hack to measure the tree again after update + Util.forceIE8Redraw(getWidget().getElement()); + getWidget().rendering = false; } |