Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

onSwipeLeft & onSwipeRight not called on slow swipes #65

Closed
baconmania opened this issue May 10, 2015 · 7 comments · May be fixed by #66
Closed

onSwipeLeft & onSwipeRight not called on slow swipes #65

baconmania opened this issue May 10, 2015 · 7 comments · May be fixed by #66

Comments

@baconmania
Copy link

When a full swipe to the left or right is done very slowly, onDestroy() is called, but onSwipe[Left|Right]() are not called.

@keithdmoore
Copy link
Contributor

onTransistionLeft and onTransistionRight should be used when a drag should also be treated as a swipe.

Pecked out from my iPhone

On May 10, 2015, at 1:19 PM, Gowtam Lal [email protected] wrote:

When a full swipe to the left or right is done very slowly, onDestroy() is called, but onSwipeLeft|Right are not called.


Reply to this email directly or view it on GitHub.

@rogerkerse
Copy link

+1

1 similar comment
@cmcnamara87
Copy link

+1

@budda
Copy link

budda commented Oct 4, 2015

Explains why I never see any output in the console from the demo code then...

+1 for the bug.

@keithdmoore
Copy link
Contributor

That's because a slow swipe is interpreted as a drag. See my earlier comment if you want a slow swipe(aka drag) to be treated as a regular swipe.

@budda
Copy link

budda commented Oct 4, 2015

@keithdmoore I followed the transition and swipe events listed on http://devdactic.com/optimize-tinder-cards and hooked them up with functions to output console.log messages but nothing gets triggered.

I think the blog post is covering the same as what you mentioned in your earlier comment.

@keithdmoore
Copy link
Contributor

Looks like that is a different issue. Please open a new issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants