react-native-swipe-list-view
react-native-swipe-list-view copied to clipboard
Update to use react-native-gesture-handler
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.
+1, any update with this feature? thanks !!!
Need it badly :(
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..
+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.
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 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.