Issue #2175Opened July 31, 2019by yanosuke0 reactions

[Feature Request]: Canvas Touch Support iOS

Question

My customers also require the ability to use the GrapesJS platform on their mobiles, therefore I am currently using the GrapesJS-Touch plugin. The issue, however, is not with the plugin, but rather about a missing method within the GrapesJS code. The issue and solution are provided by Mikereem at the following link: [https://github.com/artf/grapesjs-touch/issues/1]

To recap the link: on iOS devices clicking on the canvas does nothing at all. Adding "methods[method](body, 'touchend', this.onClick);" to the toggleSelectComponent function fixes the problem. The method is exactly the same as the normal onClick method with the addition of "e.preventDefault();" right after "e.stopPropagation();"

I have just added the suggested solution and everything works perfectly on iOS using the latest dev version (0.14.66). Could this solution be added as a permanent implementation within GrapesJS so that we don't need to manually edit the codes after every release? Thank you in advance.

Answers (2)

artfAugust 7, 20190 reactions

I'd be happy to merge a PR

saltyfoamAugust 11, 20190 reactions

We're making use of GrapesJS and would love to have greater support on mobile so I hope this goes through!

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.