summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2017-05-17 14:20:26 +0300
committerGitHub <noreply@github.com>2017-05-17 14:20:26 +0300
commit19ad2a565fd32fb97023a6df30cb120decec376e (patch)
tree160b2de8a7cfabd0ebc64ed1a82f6c49839752d6 /uitest
parent394299cd4cd5cddb08578aa758f927d3b40e3403 (diff)
downloadvaadin-framework-19ad2a565fd32fb97023a6df30cb120decec376e.tar.gz
vaadin-framework-19ad2a565fd32fb97023a6df30cb120decec376e.zip
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.
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/main/java/com/vaadin/tests/dnd/DragImage.java2
1 files changed, 2 insertions, 0 deletions
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();