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

Update to use react-native-gesture-handler

Open brentvatne opened this issue 6 years ago • 6 comments

react-native-gesture-handler includes a Swipeable component that uses native gesture recognizers and runs animations on the main thread, so there is no concern about the JS thread potentially dropping frames and leading to janky interactions.

brentvatne avatar Nov 28 '17 19:11 brentvatne

+1, any update with this feature? thanks !!!

outaTiME avatar Aug 24 '19 22:08 outaTiME

Need it badly :(

gvsakhil avatar Dec 13 '19 12:12 gvsakhil

Hey guys, this would require a pretty significant rewrite of the library which I just don't have the bandwidth to do at the moment, sorry!

Maybe one day..

jemise111 avatar Dec 15 '19 15:12 jemise111

+1, I love your library. Unfortunately, the vanilla touchable is flaky on android platforms using swipeable rows. I find if I have a button on the foreground view overlapping a button in the hidden view, press events to the foreground button aren't triggering.

jphilippou avatar Jan 06 '20 16:01 jphilippou

It seems that react-native-gesture-handler is also having a component swipable, perhaps more fast: https://github.com/software-mansion/react-native-gesture-handler/blob/master/docs/component-swipeable.md

Have anybody ever tried it?

kopax avatar Feb 11 '20 06:02 kopax

@kopax I ultimately switched to react-native-gesture-handler so that I could render swipable rows outside of a FlatList on a screen with several small lists wrapped in a ScrollView. I tried using this library first, but the documentation seemed to be out of sync with the API.

The usage and behavior of react-native-gesture-handler's Swipable is slightly different, but was easy to implement and get similar behavior, and so far it's working great. As and added bonus it's also more general purpose.

tacomanator avatar Mar 26 '20 07:03 tacomanator