grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

BUG: Unable to move editable text cursor on touch

Open m-jojo-s opened this issue 3 years ago • 0 comments

GrapesJS version

  • [X] I confirm to use the latest version of GrapesJS

What browser are you using?

Chrome Version 102.0.5005.115 (Official Build) (arm64)

Reproducible demo link

https://jsfiddle.net/zeq457u0/

Describe the bug

How to reproduce the bug?

  1. Load editor with a touch support enabled
  2. Double click to enter a text's contentEditable mode
  3. back with touch support enabled, try to tap to move the cursor around

What is the expected behavior? Cursor should be placed at the point of touch

What is the current behavior? touch makes no change, works only by touch-drag, mouse click (no touch) or arrow keys

Possible related issues #2244 #1649

If fixing could take time, would appreciate any pointers to get this working, will make a PR

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

m-jojo-s avatar Jul 04 '22 09:07 m-jojo-s