Can't use underlying element on mobile

Abierto
#666 4 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript, react
Área
frontend, mobile

Línea de trabajo

Start by tracing the Draggable touchstart, touchmove, and touchend handling, especially where preventDefault affects an editable span. Reproduce dragging and caret placement on a mobile device, then verify that both touch dragging and text editing work without breaking the existing scroll behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi, I use this Draggable to drag something like a caption, it has an editable span.
I want to be able both to drag on touch (even when on top of editable span) and to enter text and place text caret where I touched (like in the default). I think this works on desktop but because of preventDefault if touchstart/move/end it doesn't work on touch devices (mobile).
I know you implemented this to stop some scroll, but maybe user can implement it or you can make it optional, or something like that...
Can you fix this, please or do you maybe have a workaround for me?
Thank you, I really like your component it is really nice and simple to use!

Lenguaje dominante
JavaScript
Estrellas
9.3k
Forks
1k
Merge medio
3 d 8 h
PR fusionados (30 d)
4

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de react-grid-layout/react-draggable

Todos los issues de react-grid-layout/react-draggable

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.