Issue #2419đź’¬ AnsweredOpened November 20, 2019by MartinPutz1 reactions

Absolute dragmode does not work on touch devices

Quick answerby wfcheng❤ 1

This may or may not be related. I noticed with grapejs v0.16.34 on OSX Safari, the event argument inside onStart() function in src/commands/view/ComponentDrag.js is undefined when I drag a block onto the canvas, which can be reproduced with the same fiddle cited above https://jsfiddle.net/v9kecdpz/, again on Safari. I...

Read full answer below ↓

Question

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:Open the demo (included jsfiddle with grapesjs touch plugin)Drag a block into the canvas(...

Answers (3)

wfcheng• January 10, 2021

This may or may not be related. I noticed with grapejs v0.16.34 on OSX Safari, the event argument inside onStart() function in src/commands/view/ComponentDrag.js is undefined when I drag a block onto the canvas, which can be reproduced with the same fiddle cited above https://jsfiddle.net/v9kecdpz/...

pradeeshattlee• March 2, 2020

Hey @MartinPutz The asset manager doesn't pop up on the iPad, desktop on touch devices- chrome, firefox, and safari.

And the editor canvas scroll doesn't work on the iPhone.

What am I missing?

Thanks in advance.

MartinPutz• March 7, 2020

Hey @pradeeshattlee This issue is not really related to the asset manager, but moving the components around, once they are rendered. I rarely use the asset manager, but as I recall it was working just fine on iPad as well. If I were you I would open a new issue with all the details that might be us...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.