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

appino_swiper - fix card move #280

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

coolswood
Copy link

If we forbid a card to be moved in a certain direction, for example down here:
swipeOptions: const SwipeOptions.only( left: true, right: true, up: true, )
If we move the card in the opposite direction, we can no longer return it to its place. Like in the video.

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-05-07.at.11.49.20.mp4

So we need to give the ability to return the card to its original place. Now it works like this.

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-05-07.at.11.48.26.mp4

@coolswood
Copy link
Author

@bilalhamud @khanmujeeb687
Please, take a look!

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.

None yet

2 participants