diff options
author | Henri Sara <hesara@vaadin.com> | 2015-12-21 09:48:35 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-12-21 11:33:14 +0000 |
commit | 8954a81c7cb6fda3ec3d7c2f08456d7e7af83ad8 (patch) | |
tree | 2524692e9613996ec8dae7741c1d8a5fe0842125 | |
parent | 9dbaab1898a62a0eb94e70437e876ca80a5ee591 (diff) | |
download | vaadin-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
-rw-r--r-- | WebContent/release-notes.html | 2 | ||||
-rw-r--r-- | client/src/com/vaadin/client/ui/AbstractComponentConnector.java | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/WebContent/release-notes.html b/WebContent/release-notes.html index ea0ee4dfb9..2158ef03cd 100644 --- a/WebContent/release-notes.html +++ b/WebContent/release-notes.html @@ -144,6 +144,8 @@ <h3 id="knownissues">Known Issues and Limitations</h3> <ul> <li>Vaadin TouchKit versions prior to 4.1.0 do not work with 7.6. Please use version 4.1.0 or above.</li> + <li>Context click events are not generated on iOS devices + (<a href="http://dev.vaadin.com/ticket/19367">#19367</a>)</li> <li>Drag'n'drop in a Table doesn't work on touch devices running Internet Explorer (Windows Phone, Surface) (<a href="http://dev.vaadin.com/ticket/13737">#13737</a>) 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(); } /** |