diff options
author | Juuso Valli <juuso@vaadin.com> | 2014-06-06 11:40:18 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-06-09 09:46:46 +0000 |
commit | 7c83cfaa8f71bcdd8b8250340f47fcfd0d996239 (patch) | |
tree | 85ae1985b4cd09b5ca1e7375c8715b85dd2177ba | |
parent | 8233b1c7bf750cb7f2518ad8c2b1fb1679dfa016 (diff) | |
download | vaadin-framework-7c83cfaa8f71bcdd8b8250340f47fcfd0d996239.tar.gz vaadin-framework-7c83cfaa8f71bcdd8b8250340f47fcfd0d996239.zip |
Prevent tooltip open if cursor leaves element (#13695)
Change-Id: I81b1955aba56207cb63d78113f698c0ae65a599b
-rw-r--r-- | client/src/com/vaadin/client/VTooltip.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/VTooltip.java b/client/src/com/vaadin/client/VTooltip.java index 1410d1345e..bbf5e5c32c 100644 --- a/client/src/com/vaadin/client/VTooltip.java +++ b/client/src/com/vaadin/client/VTooltip.java @@ -404,9 +404,7 @@ public class VTooltip extends VWindowOverlay { TooltipInfo info = getTooltipFor(element); if (info == null) { - if (isActuallyVisible()) { - handleHideEvent(); - } + handleHideEvent(); } else { setTooltipText(info); updatePosition(event, isFocused); |