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

Programmatic mdc_swipe does not play well with dragging #94

Open
varkor opened this issue Jul 1, 2015 · 2 comments
Open

Programmatic mdc_swipe does not play well with dragging #94

varkor opened this issue Jul 1, 2015 · 2 comments

Comments

@varkor
Copy link

varkor commented Jul 1, 2015

If the image is currently being dragged, and mdc_swipe is called, the image will either return to the center (if it's on the right side, and it's programmatically swiped left, or vice versa), or be swiped as expected (if it's on the same side as the programmatic swipe). This looks especially messy when a drag is in motion and a swipe is triggered.

Either ignoring mdc_swipes when the image is being dragged, or forcing them and ignoring any further dragging, would both be preferable to the current behaviour.

@anitalanet
Copy link

Hi.. i face issue similarly.. the effect of dragging left and right will not getting while we manually place code for drag left and right... i need exact animation which is shown when image is dragged either right or left..how can i achive this...specific on swift

@anitalanet
Copy link

Hi...i found the solution ... You just need to perform two simple steps..

  1. Change the threshhold value from 100 to 160
  2. Change the following file with given file named as "UIView+MDCSwipeToChoose.h
    UIView+MDCSwipeToChoose.m.zip

"

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

2 participants