[Feature]: Snap the card view to top or bottom automatically#2
Open
Badrmoh wants to merge 2 commits intobrianadvent:masterfrom
Open
[Feature]: Snap the card view to top or bottom automatically#2Badrmoh wants to merge 2 commits intobrianadvent:masterfrom
Badrmoh wants to merge 2 commits intobrianadvent:masterfrom
Conversation
…of the pan gesture and to what extend the card has been dragged.
Author
|
I changed the team in the project for xcode to be able to run the project. You can change that easily later. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.