BUG: block:drag event not working in touch devices even after including touch plugin
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
chrome desktop Version 108.0.5359.125 latest
Reproducible demo link
N/A
Describe the bug
How to reproduce the bug? when dragging component from block manager, the event is not fired.
If is necessary to execute some code in order to reproduce the bug, paste it here below:
editor.on('block:drag', function (e, a) {
editor.Commands.run('hide-panels')
})
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (1)
Thanks @joukhar there is actually some inconsistency with the block:drag event and I'll try to fix it in the next release.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4841
BUG: do not use component.addAttributes({[traitName]:value}), you should use component.set(traitName, value) sometimes
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 108.0.5359.125 Reproducible demo li...
Issue #5378
BUG: Uncaught TypeError: Cannot read properties of undefined (reading 'Canvas') while dragging a component in Layer Manager Panel
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v116.0.5845.97 Reproducible demo li...
Issue #4732
BUG: Tabs behaviour after HTML import
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 107 (MacOS) Reproducible demo link...
Issue #3832
BUG: The css classes are removed and the autogenerated ids for each html tags gets changed ( Example : ivj5m-2) after each reload
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link Not there De...
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.