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

SwipeCancelState called when dragging a clickable view..Disables further interaction #159

Open
joncolon opened this issue Apr 4, 2019 · 0 comments

Comments

@joncolon
Copy link

joncolon commented Apr 4, 2019

I'm using SwipePlaceHolderViews to display questions in a trivia app. Swiping is disabled, but when a user drags a button on the SwipePlaceHolderView, SwipeCancelState is called and prevents further interaction with the view. This essentially ends the game.

I was able to recreate this issue in the Tinder Swipe Kotlin example by:

  • Disabling Swipes
  • Showing a toast on profile image clicks
  • Performing a touch and drag on the profile image

No toast was shown after SwipeCancelState was called.

Otherwise, I am completely in love with this library! Any advice on how to handle this scenario?

Thanks!

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