-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Can reproIt is confirmed we can reproduce the issueIt is confirmed we can reproduce the issuePlatform: AndroidThis issue is specific to AndroidThis issue is specific to AndroidPlatform: iOSThis issue is specific to iOSThis issue is specific to iOS
Description
Description
FPS down when I'm using ReanimatedSwipeable from import Swipeable from 'react-native-gesture-handler/ReanimatedSwipeable' in each item Items are not been loaded until fetch from API is done, so this is not a load data issue. If I replace it for Swipeable from import Swipeable from 'react-native-gesture-handler/Swipeable' all work great
This issue is happening in Dev and Release apps and using Hermes + RN's New arch.
Note: I applied FlatList performance strategies and tested it with/without them and the issue is still happening.
Steps to reproduce
- Run app on real device (issue is most visible on Android devices).
- Turn on Perf Monitor.
- Create a List with items using FlatList
- Add Swipeable actions for each item.
- Scroll down/up list.
Snack or a link to a repository
https://github.com
Gesture Handler version
2.21.0, 2.21.1 and 2.21.2
React Native version
0.76.5
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Fabric (New Architecture)
Build type
Release mode
Device
Real device
Device model
Huawei P30 Pro, iPhone 16 Pro Max
Acknowledgements
Yes
AdamRealE, zhanlun, davelynInes, vargajacint, roni-castro-shipt and 4 more
Metadata
Metadata
Assignees
Labels
Can reproIt is confirmed we can reproduce the issueIt is confirmed we can reproduce the issuePlatform: AndroidThis issue is specific to AndroidThis issue is specific to AndroidPlatform: iOSThis issue is specific to iOSThis issue is specific to iOS