Can't use underlying element on mobile

Aperta
#666 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
javascript, react
Ambito
frontend, mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
JavaScript
Stelle
9.3k
Fork
1k
Merge medio
3g 8h
PR unite (30g)
4

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di react-grid-layout/react-draggable

Tutte le issue di react-grid-layout/react-draggable

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.