From: Matti Tahvonen Date: Tue, 19 Apr 2011 08:21:57 +0000 (+0000) Subject: fixes #6661 X-Git-Tag: 6.7.0.beta1~321 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3f614c0e99694928cdd83c7d84757cf07e6d078e;p=vaadin-framework.git fixes #6661 svn changeset:18370/svn branch:6.6 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java b/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java index 5bc4d2c79d..ecb57a49ce 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java +++ b/src/com/vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java @@ -203,8 +203,10 @@ public class VDragAndDropManager { break; - case Event.ONMOUSEUP: case Event.ONTOUCHEND: + /* Avoid simulated event on drag end */ + event.getNativeEvent().preventDefault(); + case Event.ONMOUSEUP: endDrag(); break;