react-native-swipe-list-view icon indicating copy to clipboard operation
react-native-swipe-list-view copied to clipboard

Make it harder to start the swipe

Open athenawisdoms opened this issue 1 year ago • 1 comments

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 :)

athenawisdoms avatar Apr 01 '23 10:04 athenawisdoms

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! 🙌

pepperav avatar Nov 15 '23 13:11 pepperav