From 67dd382e61386043d771126c8ec21794d643baf3 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Fri, 9 May 2014 13:25:12 +0300 Subject: [PATCH] Ignore PointerEvents in VDragAndDropManager (#13720) Change-Id: I1fca0b71fec883c7dc2fafbaa1da20da33fe707e --- .../src/com/vaadin/client/ui/dd/VDragAndDropManager.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java b/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java index 6044ee01cc..6449c19251 100644 --- a/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java +++ b/client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java @@ -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; } -- 2.39.5