diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-02-15 18:59:52 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-02-15 18:59:52 +0200 |
commit | ec427e2edb87cbfbc73104d69219f02320b8e621 (patch) | |
tree | 7ee02f6f1b0a1e838364737c6e0ece86193b0766 | |
parent | df1750f19c059ca94106a828fe40cb1c08c9923f (diff) | |
download | vaadin-framework-ec427e2edb87cbfbc73104d69219f02320b8e621.tar.gz vaadin-framework-ec427e2edb87cbfbc73104d69219f02320b8e621.zip |
Enable long tap emulation on iOS for context clicks (#8565) (#8570)
Fix release notes mention of context click events
-rw-r--r-- | all/src/main/templates/release-notes.html | 4 | ||||
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/AbstractComponentConnector.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/all/src/main/templates/release-notes.html b/all/src/main/templates/release-notes.html index c70b0000da..4a012694fb 100644 --- a/all/src/main/templates/release-notes.html +++ b/all/src/main/templates/release-notes.html @@ -94,6 +94,8 @@ (<a href="http://dev.vaadin.com/ticket/19683">#19683</a>)</li> <li>Vaadin can now automatically use default widgetset AppWidgetset optionally generated by the latest Vaadin Maven plug-in (<a href="http://dev.vaadin.com/ticket/19675">#19675</a>)</li> + <li>Context click events are now generated on iOS devices + (<a href="http://dev.vaadin.com/ticket/19406">#19406</a>)</li> </ul> <p> @@ -118,8 +120,6 @@ <h3 id="knownissues">Known Issues and Limitations</h3> <ul> <li>Vaadin TouchKit versions prior to 4.1.0 do not work with Vaadin 7.7. 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/main/java/com/vaadin/client/ui/AbstractComponentConnector.java b/client/src/main/java/com/vaadin/client/ui/AbstractComponentConnector.java index 75370114ac..9e2854c259 100644 --- a/client/src/main/java/com/vaadin/client/ui/AbstractComponentConnector.java +++ b/client/src/main/java/com/vaadin/client/ui/AbstractComponentConnector.java @@ -285,7 +285,7 @@ public abstract class AbstractComponentConnector extends AbstractConnector } protected boolean shouldHandleLongTap() { - return BrowserInfo.get().isTouchDevice() && !BrowserInfo.get().isIOS(); + return BrowserInfo.get().isTouchDevice(); } /** |