From: Teemu Suo-Anttila Date: Fri, 9 May 2014 10:25:12 +0000 (+0300) Subject: Ignore PointerEvents in VDragAndDropManager (#13720) X-Git-Tag: 7.2.0~7^2~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=67dd382e61386043d771126c8ec21794d643baf3;p=vaadin-framework.git Ignore PointerEvents in VDragAndDropManager (#13720) Change-Id: I1fca0b71fec883c7dc2fafbaa1da20da33fe707e --- 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; }