You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Why does react-draggable affect onChange events on mobile? #772
On touch devices, DraggableCore listens for touchstart with passive: false and calls preventDefault, which can stop an <input> inside the draggable from focusing.
The cancel prop exists for this: <Draggable cancel="input, textarea"> skips drag start on those elements.
Activity
STRML commentedon Sep 27, 2026
Triage Notes
What we've established so far:
DraggableCorelistens fortouchstartwithpassive: falseand callspreventDefault, which can stop an<input>inside the draggable from focusing.cancelprop exists for this:<Draggable cancel="input, textarea">skips drag start on those elements.What we still need from you (@Suryaprabha1030):
cancel="input"fix it on react-draggable 4.7.2?