Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Horizontal swipe recognized without pointer up #66

Closed
Deepscorn opened this issue Jan 3, 2018 · 1 comment
Closed

[BUG] Horizontal swipe recognized without pointer up #66

Deepscorn opened this issue Jan 3, 2018 · 1 comment

Comments

@Deepscorn
Copy link

Repro:

  1. Create a scrollview
  2. Init horizontal swipe (TKSwipeRecognizer)
  3. Hold the left mouse button and start dragging the list fast
    Result:
    recognizer fires gestureRecognizedEvent while dragging.

Expected behaviour:
recognizer fires gestureRecognizedEvent only when was dragging fast and released the button

Possibly related to:
#52

@Deepscorn
Copy link
Author

Deepscorn commented Jan 3, 2018

Oh, I see, unsetting triggerWhenCriteriaMet solves the issue

swipeRecognizer = new TKSwipeRecognizer();
swipeRecognizer.triggerWhenCriteriaMet = false;

Closing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant