diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2014-05-09 13:25:12 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-05-09 10:54:56 +0000 |
commit | 67dd382e61386043d771126c8ec21794d643baf3 (patch) | |
tree | 35821370baff2c86de7ce994fba70f4233b63932 /client | |
parent | 5a4c888dbd85d1a902b6657774a019e2d13551df (diff) | |
download | vaadin-framework-67dd382e61386043d771126c8ec21794d643baf3.tar.gz vaadin-framework-67dd382e61386043d771126c8ec21794d643baf3.zip |
Ignore PointerEvents in VDragAndDropManager (#13720)
Change-Id: I1fca0b71fec883c7dc2fafbaa1da20da33fe707e
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/dd/VDragAndDropManager.java | 7 |
1 files 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; } |