diff options
author | Pekka Hyvönen <pekka@vaadin.com> | 2017-05-11 15:47:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-11 15:47:43 +0300 |
commit | 8591ce8debbdd56c0f52b9fcca4346922282d5f7 (patch) | |
tree | 788261d945ce59b10eb8b33983e3f63084b24245 | |
parent | f72ac12fd257e218c370a4d686be4cc99c2a22d6 (diff) | |
download | vaadin-framework-8591ce8debbdd56c0f52b9fcca4346922282d5f7.tar.gz vaadin-framework-8591ce8debbdd56c0f52b9fcca4346922282d5f7.zip |
Fix broken DragEnd event introduced in a recent PR (#9297)
-rw-r--r-- | client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java b/client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java index 9e0a76788d..ed04f2d00f 100644 --- a/client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java +++ b/client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java @@ -295,7 +295,7 @@ public class DragSourceExtensionConnector extends AbstractExtensionConnector { // for android chrome we use the polyfill, in case browser fires a // native dragend event after the polyfill dragend, we need to ignore // that one - if (isNativeDragEvent((nativeEvent))) { + if (isAndoidChrome() && isNativeDragEvent((nativeEvent))) { event.preventDefault(); event.stopPropagation(); return; |