Closed lizhengqiang closed 7 years ago
Please don't submit a build, only submit your actual changes
+13,615 −13,648
@lizhengqiang you still have the built files included...
this is kind of a duplicate of https://github.com/JedWatson/react-tappable/pull/85 right? different approach to fixing the same problem as far as I can tell.
@mattcolman both PRs suffer the same issue. Please remove the build files.
Closing in favour of https://github.com/JedWatson/react-tappable/pull/85#pullrequestreview-37206913
when i hold touching on a tappable component and move up a very long distance and move back to the point where the move started at.
because of the condition can only calc the movement between endTouch and startTouch,so a very long move will be though a tap event.
so we use a Journey to calculate all the movement, let the moveThreshold real be.