summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2015-12-21 09:48:35 +0200
committerVaadin Code Review <review@vaadin.com>2015-12-21 11:33:14 +0000
commit8954a81c7cb6fda3ec3d7c2f08456d7e7af83ad8 (patch)
tree2524692e9613996ec8dae7741c1d8a5fe0842125 /client
parent9dbaab1898a62a0eb94e70437e876ca80a5ee591 (diff)
downloadvaadin-framework-8954a81c7cb6fda3ec3d7c2f08456d7e7af83ad8.tar.gz
vaadin-framework-8954a81c7cb6fda3ec3d7c2f08456d7e7af83ad8.zip
Disable long tap support on iOS (#19367)
Long tap causes problems in embedded browsers on iOS (text selection is performed and/or the OS native context menu is shown). The support should be re-enabled in the future (see #19406). Change-Id: I842df12675482c8e529e8bb061958414cc8c0b90
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ui/AbstractComponentConnector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java
index c312cf5325..e040386e63 100644
--- a/client/src/com/vaadin/client/ui/AbstractComponentConnector.java
+++ b/client/src/com/vaadin/client/ui/AbstractComponentConnector.java
@@ -283,7 +283,7 @@ public abstract class AbstractComponentConnector extends AbstractConnector
}
protected boolean shouldHandleLongTap() {
- return BrowserInfo.get().isTouchDevice();
+ return BrowserInfo.get().isTouchDevice() && !BrowserInfo.get().isIOS();
}
/**