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

Fixed an issue with ScrollGesture on SwipeView; Improved swipeDelete Transition by adding Move to Leading transition #28

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

Conversation

OmChachad
Copy link

This mimics the behavior of the iOS swipe to delete action even more accurately, since it slides away in the direction of the swipe when deleting.

This commit fixes an issue where a SwipeView, when inside a ScrollView, would interfere with the regular system scroll gesture and previously prevent scrolling.

Credits for the solution: https://stackoverflow.com/a/79037514
@OmChachad OmChachad changed the title Improved swipeDelete Transition by adding Move to Leading transition. Fixed an issue with ScrollGesture on SwipeView; Improved swipeDelete Transition by adding Move to Leading transition Feb 18, 2025
@OmChachad
Copy link
Author

Just added another change: the SwipeView no longer interferes with the system scroll gesture when inside a ScrollView.

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