react-sortable-hoc icon indicating copy to clipboard operation
react-sortable-hoc copied to clipboard

broke in multiple touch

Open suhaotian opened this issue 10 years ago • 10 comments

screenshot_2016-06-12-17-16-08_com tencent mobile

suhaotian avatar Jun 12 '16 09:06 suhaotian

Can you elaborate a little?

clauderic avatar Jun 19 '16 11:06 clauderic

@clauderic yes 😸 When I use my finger touch move one item, at the same time, another finger touch move another item, the first item is fly 🍂

suhaotian avatar Jun 19 '16 13:06 suhaotian

PR #73 should fix this as onTouchCancel can fire from too many touch points. As per MDN Docs: The touchcancel event is fired when a touch point has been disrupted in an implementation-specific manner (for example, too many touch points are created).

ChildishDanbino avatar Oct 25 '16 19:10 ChildishDanbino

Just confirmed that this is still an issue. I'll try to take a look into how this could be solved

clauderic avatar Dec 08 '16 02:12 clauderic

@clauderic, I confirmed this is an issue still and was wondering if you made it any further on fixing this. Thanks!

CoreyWinkelmannPP avatar May 19 '17 18:05 CoreyWinkelmannPP

@clauderic Any update on this... I am also facing same problem.

raghav1086 avatar Sep 03 '17 10:09 raghav1086

I have a similar issue—on mobile only, using DragSortHandle, after initial touch on element it is affixed to the viewport, and subsequent touchmoves drag the document rather than the element (see below). It seems this line isn't working: https://github.com/clauderic/react-sortable-hoc/blob/7845e76f531e14b1ccd0f844d5c1efc82ab0c223/src/SortableContainer/index.js#L439

mobile-dragging

davidchappy avatar Feb 07 '19 16:02 davidchappy

It's still a problem and probably it's a duplicate of this one -> https://github.com/clauderic/react-sortable-hoc/issues/440.

mwojslaw avatar Apr 08 '19 12:04 mwojslaw

I'm also facing the same problem. On touch devices if i long press(pressDelay is disabled) on row, its just freezes on top of the screen. @davidchappy @mwojslaw do you found some solution ?

mzmmlds avatar Oct 15 '19 12:10 mzmmlds

Facing exactly same issue with dragHandle. Works fine in desktop view but in any mobile view it freezes the row on top and only page scrolls

anas510 avatar Nov 26 '19 07:11 anas510