]> source.dussan.org Git - vaadin-framework.git/commit
Fix drag image offset for Grid rows for mobile (#9336)
authorPekka Hyvönen <pekka@vaadin.com>
Wed, 17 May 2017 11:20:26 +0000 (14:20 +0300)
committerGitHub <noreply@github.com>
Wed, 17 May 2017 11:20:26 +0000 (14:20 +0300)
commit19ad2a565fd32fb97023a6df30cb120decec376e
tree160b2de8a7cfabd0ebc64ed1a82f6c49839752d6
parent394299cd4cd5cddb08578aa758f927d3b40e3403
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.
client/src/main/java/com/vaadin/client/connectors/grid/GridDragSourceConnector.java
client/src/main/java/com/vaadin/client/extensions/DragSourceExtensionConnector.java
client/src/main/java/com/vaadin/client/ui/ui/UIConnector.java
uitest/src/main/java/com/vaadin/tests/dnd/DragImage.java