Skip to content

[Feature]: Snap the card view to top or bottom automatically #2

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Badrmoh
Copy link

@Badrmoh Badrmoh commented Dec 30, 2018

Depending on the velocity of the pan gesture and to what extent the card has been dragged, the card view is snapped to the top or bottom of the screen. If you dragged the handler fast enough, the card goes in the direction of the velocity. Also, if you dragged the card view far enough, it will snap to the closest side, whether it is top or bottom.

…of the pan gesture and to what extend the card has been dragged.
@Badrmoh
Copy link
Author

Badrmoh commented Dec 30, 2018

I changed the team in the project for xcode to be able to run the project. You can change that easily later.

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

Successfully merging this pull request may close these issues.

1 participant