-
-
Notifications
You must be signed in to change notification settings - Fork 956
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
Swipeable extremely slow inside large FlatList #596
Comments
Same problem here. @sintylapse have you solved this in any way? |
Same problem here, there is a performance drop with large flatlists. |
@geroale, @marf I used react-native-interactable instead. It is the best solution I found so far, no performance issues. I also tried to use react-native-gesture-handler combined with react-native-reanimated, but this library also has performance issues with large lists |
Thank you bery much for your hints, with react-native-interactable we do not have any performance issues! |
Same problem here |
Same problem here with only 40 items. FlatList with Swipeable example's github repository |
Same problem, but I use Flipkart/recyclerlistview instead FlastList, it works well. |
Closing as #1531 duplicates this issue. Discussion can be moved there |
Swipeable is extremely slow on first render of large FlatList (70 items) and when rotating device/simulator. When you open a screen with FlatList of Swipeable items and immediately try to swipe, the animation will be laggy. The same thing when you rotate device/simulator.
I tried the latest example inside the repo https://github.com/kmagiera/react-native-gesture-handler/tree/master/Example , the only thing I change in code - I added 70 items instead of 8. Here is the video
It makes impossible to use Swipeable component in real-world applications. Is there any way to use swipeable functionality in a performant way? Maybe using with react-native-reanimated?
The text was updated successfully, but these errors were encountered: