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?
- Add two components
- Open browser dev-tools and enable device mode (CMD+SHIFT+M)
- 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)
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.
Issue #4323
BUG: Performance issue while dragging component to canvas when you have 2k component on canvas
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Google Chrome Version 101.0.4951.41 (Officia...
Issue #4136
BUG: component.remove() in 'component:mount' does not remove the rendered view
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 98.0.4758.80 (Official Buil...
Issue #5173
BUG: editor.Css.setRule API not working as expected, it is not updating the rule existing rule.
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 112.0.5615.137 (Official Build) (a...
Issue #4752
BUG: Component with pointer-events: 'all' (except wrapper) or editable component are draggable & droppable to itself.
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome 107.0.5304.121 (Official Build) (arm6...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.