[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)
I'd be happy to merge a PR
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.
Issue #2201
[Feature]: Allow scroll of the canvas if the device height exceeds the available height
Given the following code example... Results in no ability to scroll to top of canvas if editor display area is less than specified height o...
Issue #1697
Implement TinyMCE and disable RTE
I'm trying to apply tinyMCE as a replacement for RTE, but I'm doing an impossible task, I'm following the same steps of the plugin CKEDITOR...
Issue #3337
Question: Use arrow keys to move blocks in canvas configured in absolute positioning mode
Hi, I am building a solution for students to tell their high school experiences as slides built from grapejs editor (similar to canva), and...
Issue #3561
FEAT: Enhanced Shadow DOM Support
What are you trying to add to GrapesJS? Better Shadow DOM support, allowing developers to render GrapesJS inside a Shadow element without h...
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.