summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/com/vaadin/client/ui/VOverlay.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/src/com/vaadin/client/ui/VOverlay.java b/client/src/com/vaadin/client/ui/VOverlay.java
index 1d653a8ff5..a4f62775e1 100644
--- a/client/src/com/vaadin/client/ui/VOverlay.java
+++ b/client/src/com/vaadin/client/ui/VOverlay.java
@@ -978,7 +978,6 @@ public class VOverlay extends PopupPanel implements CloseHandler<PopupPanel> {
});
} else {
// Check if animations are used
- setVisible(false);
addStyleDependentName(ADDITIONAL_CLASSNAME_ANIMATE_OUT);
if (isShadowEnabled()) {
shadow.addClassName(CLASSNAME_SHADOW + "-"
@@ -989,7 +988,6 @@ public class VOverlay extends PopupPanel implements CloseHandler<PopupPanel> {
if (animationName == null) {
animationName = "";
}
- setVisible(true);
if (animationName.contains(ADDITIONAL_CLASSNAME_ANIMATE_OUT)) {
// Disable GWT PopupPanel closing animation if used