Issue #4256Opened April 13, 2022by m-jojo-s1 reactions

BUG: touch drag-and-drop does not work

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome Version 98.0.4758.80 (Official Build) (arm64)

Reproducible demo link

https://jsfiddle.net/bd2kpjwf/

Describe the bug

How to reproduce the bug?

  1. Add two components
  2. Open browser dev-tools and enable device mode (CMD+SHIFT+M)
  3. Drag and drop components around

What is the expected behavior? Components get moved around

What is the current behavior? Nothing happens. Drag isn't registered

Including the gjs-touch plugin does not work either. Any leads would be appreciated.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (1)

artfApril 14, 20221 reactions

The touch plugin polyfill will work only if you load it with touch device already enabled (try to use the demo), so if you enable touch device later it won't work.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.