From 3f614c0e99694928cdd83c7d84757cf07e6d078e Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Tue, 19 Apr 2011 08:21:57 +0000 Subject: [PATCH] fixes #6661 svn changeset:18370/svn branch:6.6 --- .../vaadin/terminal/gwt/client/ui/dd/VDragAndDropManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5