-
Notifications
You must be signed in to change notification settings - Fork 146
onSwipeLeft & onSwipeRight not called on slow swipes #65
Comments
onTransistionLeft and onTransistionRight should be used when a drag should also be treated as a swipe. Pecked out from my iPhone
|
+1 |
1 similar comment
+1 |
Explains why I never see any output in the console from the demo code then... +1 for the bug. |
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. |
@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. |
Looks like that is a different issue. Please open a new issue. |
When a full swipe to the left or right is done very slowly,
onDestroy()
is called, butonSwipe[Left|Right]()
are not called.The text was updated successfully, but these errors were encountered: