diff options
author | Artur Signell <artur.signell@itmill.com> | 2012-08-03 07:50:42 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2012-08-03 07:50:42 +0000 |
commit | 17efb5dd9309768f077060edda6c57f88ec4f352 (patch) | |
tree | 3f52d68d94961aed6bdf1a7a3d4389e5195d9bed /src | |
parent | 3e908d6e17e3743be5b62d49010194b8ae29627c (diff) | |
download | vaadin-framework-17efb5dd9309768f077060edda6c57f88ec4f352.tar.gz vaadin-framework-17efb5dd9309768f077060edda6c57f88ec4f352.zip |
Fix for overlays in opera with no shadow (#6219, #8399)
svn changeset:24048/svn branch:6.8
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VOverlay.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VOverlay.java b/src/com/vaadin/terminal/gwt/client/ui/VOverlay.java index 3d11c7b5bb..6f4c5e70bb 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VOverlay.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VOverlay.java @@ -442,7 +442,7 @@ public class VOverlay extends PopupPanel implements CloseHandler<PopupPanel> { // Opera needs some shaking to get parts of the shadow showing // properly // (ticket #2704) - if (BrowserInfo.get().isOpera()) { + if (BrowserInfo.get().isOpera() && isShadowEnabled()) { // Clear the height of all middle elements DOM.getChild(shadow, 3).getStyle().setProperty("height", "auto"); DOM.getChild(shadow, 4).getStyle().setProperty("height", "auto"); @@ -460,7 +460,7 @@ public class VOverlay extends PopupPanel implements CloseHandler<PopupPanel> { positionAndSize); // Opera fix, part 2 (ticket #2704) - if (BrowserInfo.get().isOpera()) { + if (BrowserInfo.get().isOpera() && isShadowEnabled()) { // We'll fix the height of all the middle elements DOM.getChild(shadow, 3) .getStyle() |