summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2015-03-13 22:29:59 +0200
committerVaadin Code Review <review@vaadin.com>2015-07-15 07:13:53 +0000
commit0e085a9ddbf75b7052d521ade84cd08c986e3469 (patch)
tree5bdb5a21e2923553724b47db9b858bd36660f8eb /client
parentef79e1aa98b6460e43bfc63672b862513c1e9404 (diff)
downloadvaadin-framework-0e085a9ddbf75b7052d521ade84cd08c986e3469.tar.gz
vaadin-framework-0e085a9ddbf75b7052d521ade84cd08c986e3469.zip
Increase Tooltip z-index to be larger than the default overlay z-index. (#14854)
Change-Id: Ib6a2f77aadc9cb1afe8a8e43be9916de3d2eaf44
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/VTooltip.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/VTooltip.java b/client/src/com/vaadin/client/VTooltip.java
index 4e59040298..f3d65cd20a 100644
--- a/client/src/com/vaadin/client/VTooltip.java
+++ b/client/src/com/vaadin/client/VTooltip.java
@@ -89,6 +89,9 @@ public class VTooltip extends VOverlay {
LiveValue.ASSERTIVE);
Roles.getTooltipRole().setAriaRelevantProperty(getElement(),
RelevantValue.ADDITIONS);
+
+ // Tooltip needs to be on top of other VOverlay elements.
+ setZIndex(VOverlay.Z_INDEX + 1);
}
/**