summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorSauli Tähkäpää <sauli@vaadin.com>2015-03-13 22:29:59 +0200
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-21 14:41:15 +0300
commitda92a224f59b4faf65676b603e748391fdf51baa (patch)
treee53e85c586726bda91f4691e6db736638b438d50 /client
parent5c4bd18350dd1a43ddcf4a737a72b8deeb37e5ea (diff)
downloadvaadin-framework-da92a224f59b4faf65676b603e748391fdf51baa.tar.gz
vaadin-framework-da92a224f59b4faf65676b603e748391fdf51baa.zip
Increase Tooltip z-index to be larger than the default overlay z-index. (#14854)
Change-Id: I2122c7a1475a6ec3f53be92f04e770e4a8104167
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);
}
/**