]> source.dussan.org Git - vaadin-framework.git/commitdiff
Ignore PointerEvents in VDragAndDropManager (#13720)
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Fri, 9 May 2014 10:25:12 +0000 (13:25 +0300)
committerVaadin Code Review <review@vaadin.com>
Fri, 9 May 2014 10:54:56 +0000 (10:54 +0000)
Change-Id: I1fca0b71fec883c7dc2fafbaa1da20da33fe707e

client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java

index 6044ee01cc00ecb1fe8d242a6d903d918a399035..6449c192517bfaa667ad60bc430c790e07faa7e0 100644 (file)
@@ -374,11 +374,10 @@ public class VDragAndDropManager {
                             int typeInt = event.getTypeInt();
                             if (typeInt == -1
                                     && event.getNativeEvent().getType()
-                                            .contains("MSPointer")) {
+                                            .toLowerCase().contains("pointer")) {
                                 /*
-                                 * Ignore MSPointer events, until they are
-                                 * properly used (might improve usability on
-                                 * touch devices).
+                                 * Ignore PointerEvents since IE10 and IE11 send
+                                 * also MouseEvents for backwards compatibility.
                                  */
                                 return;
                             }