Issue #4791πŸ’¬ AnsweredOpened December 19, 2022by joukhar0 reactions

Block:drag event not working in touch devices even after including touch plugin

Quick answerby artf

Thanks @joukhar there is actually some inconsistency with the block:drag event and I'll try to fix it in the next release.

Read full answer below ↓

Question

GrapesJS version [X] 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: Code of Conduct [X] I agree to follow this project's Code of Conduct

Answers (2)

artfβ€’ December 31, 2022

Thanks @joukhar there is actually some inconsistency with the block:drag event and I'll try to fix it in the next release.

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @joukhar. Great question about block:drag event not working in touch devices even after including touch plugin. The recommended approach with Components is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on()...

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.