Skip to content

useDrag() on touch devices... Dragging only starts after a delay (long press) #6493

Answered by reidbarber
SachaMPS asked this question in Q&A
Discussion options

You must be logged in to vote

This behavior isn't added by React Aria, but is instead how native HTML drag and drop works on touch devices currently (try it here). I assume this behavior exists due to the fact that if dragging started immediately upon touch, it would get unintentionally triggered simply by swiping the page to scroll.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SachaMPS
Comment options

Answer selected by SachaMPS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants