react-swipeable-list icon indicating copy to clipboard operation
react-swipeable-list copied to clipboard

scrollStartThreshold not work

Open Rickyc81 opened this issue 3 years ago • 2 comments

scrollStartThreshold and swipeStartThreshold don't seem to work, I set various kinds of values, but the swipe never block

// project edited https://codesandbox.io/s/naughty-montalcini-pbgo25?file=/src/basic/BasicExample.js:1171-1191

thanks Ric

Rickyc81 avatar Jan 17 '23 15:01 Rickyc81

I correct myself, swipeStartThreshold it work, if i set 50px is visible that se real swipe start when 50px is passed, but i did not understand how to stop swipe.. i set scrollStartThreshold at different value.. but the swipe always comes to the end

I would like to do like in your example.gif, where scrolling gets stuck at some point

This part of docs is not clear..

"How far in pixels swipe needs to be done to start swiping on list item. After a swipe is started and goes beyond the threshold, scrolling is blocked."

and specially, "After a swipe is started and goes beyond the threshold, scrolling is blocked.", so if i set swipeStartThreshold to 50px, i expect that after 50px of swipe it block , but the opposite happens, after 50px of finger swipe the animation appears ..

Rickyc81 avatar Jan 17 '23 17:01 Rickyc81

Hello, I'm using react-swipeable-list with list type IOS, like in the example above. For me it works fine, but I would like to stop the swiping after trailing/leading actions are revealed. Is there any way I can do this?

AlexandraDimulescu avatar Mar 08 '23 08:03 AlexandraDimulescu