From 19ad2a565fd32fb97023a6df30cb120decec376e Mon Sep 17 00:00:00 2001 From: Pekka Hyvönen Date: Wed, 17 May 2017 14:20:26 +0300 Subject: Fix drag image offset for Grid rows for mobile (#9336) Asks the polyfill to always center the drag image based on the touch coordinates. Also temporarely removes the transform offset for the row. --- uitest/src/main/java/com/vaadin/tests/dnd/DragImage.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'uitest') diff --git a/uitest/src/main/java/com/vaadin/tests/dnd/DragImage.java b/uitest/src/main/java/com/vaadin/tests/dnd/DragImage.java index d64958305f..fcac0b1743 100644 --- a/uitest/src/main/java/com/vaadin/tests/dnd/DragImage.java +++ b/uitest/src/main/java/com/vaadin/tests/dnd/DragImage.java @@ -24,6 +24,8 @@ public class DragImage extends AbstractTestUIWithLog { @Override protected void setup(VaadinRequest request) { + setMobileHtml5DndEnabled(true); + HorizontalLayout layout1 = new HorizontalLayout(); layout1.setCaption("No custom drag image"); Styles styles = Page.getCurrent().getStyles(); -- cgit v1.2.3