Skip to content

[BUG] Absolute dragmode does not work on touch devices #2419

@MartinPutz

Description

@MartinPutz

Absolute dragmode (with grapesjs touch plugin) does not work on touch devices.
GrapesJS version:0.15.8

Expected behavior:
The user should be able to move components using drag and drop on touch screens as well.

Current behavior:
The user can drag and drop a block just fine.
If the user wants to move the dropped component by dragging, it looks like the drag is started(style changed) but the component does not move.

It can be reproduced in the demo as well:
https://jsfiddle.net/v9kecdpz/

Steps to reproduce:

  1. Open the demo (included jsfiddle with grapesjs touch plugin)
  2. Drag a block into the canvas(or use an existing one)
  3. Try to move the component by dragging

Tested on:
Android Tablet
Ipad 2019, IOS 13

Chrome browser was used for testing.

It is most likely not a device/OS specific issue. I am suspecting missing touch events.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions