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

Make it harder to start the swipe #617

Open
athenawisdoms opened this issue Apr 1, 2023 · 1 comment
Open

Make it harder to start the swipe #617

athenawisdoms opened this issue Apr 1, 2023 · 1 comment

Comments

@athenawisdoms
Copy link

athenawisdoms commented Apr 1, 2023

Describe the bug
When the user is scrolling down the list, its very easy to trigger the start of the swipe, which causes the row/element to blink and momentarily show the component rendered by renderHiddenRow.

Is there a way to make it harder to trigger the start of the swipe, like setting how the user must swipe X pixels before starting the swipe?

Tried setting swipeToOpenPercent={50} as a SwipeListView prop but even a small sliding gesture still causes the swipe to trigger. Am not using SwipeRow in renderItem.

Thanks in advance :)

@pepperav
Copy link

pepperav commented Nov 15, 2023

Yes I agree with @athenawisdoms , same issues. The top/bottom scroll immediately cancel a swipe already started or completed.

I solved setting closeOnScroll={ false }. Did you try?

Thank you and @jemise111 great work! 🙌

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