diff options
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/VWindow.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VWindow.java b/client/src/main/java/com/vaadin/client/ui/VWindow.java index 9bf586231f..6ecfbf7148 100644 --- a/client/src/main/java/com/vaadin/client/ui/VWindow.java +++ b/client/src/main/java/com/vaadin/client/ui/VWindow.java @@ -285,6 +285,12 @@ public class VWindow extends VOverlay implements ShortcutActionHandlerOwner, .focusStoredElement(); removeTabBlockHandlers(); + // If you click while the window is being closed, + // a new dragging curtain might be added and will + // remain after detach. Theoretically a resize curtain can also remain + // if you manage to click on the resize element + hideDraggingCurtain(); + hideResizingCurtain(); } private void addTabBlockHandlers() { |