You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When swiping left/right, the carousel moves frantically, it is very difficult to get to the second item, for example, because the carousel moves immediately to the end even with minimal swiping (in the video we really try to swipe left/right very slowly and carefully).
With pagingEnabled it works fine, but on the simulator the carousel gets stuck on the first item and you can't move to any other item, and we also don't want to always enable paging.
To Reproduce
Steps to reproduce the behavior:
Swipe left/right
Expected behavior
In the previous version [v 3.5.1], the carousel moves slower, it is easy to get to any item.
Versions (please complete the following information):
react: v18.3.1
react-native: v0.76.6
react-native-reanimated: v3.17.1
react-native-reanimated-carousel: v4.0.2
react-native-gesture-handler: v2.24.0
Smartphone (please complete the following information):
Device: iPhone 15 Pro Max
OS: 18.3.2
furious_carousel_movementsMP4.MP4
The text was updated successfully, but these errors were encountered:
Hello, @robert-dominguez-dev! I'm here to help you with any issues or questions you may have. If you need assistance, feel free to ask!
I found some relevant information that might help address the issue you're experiencing with the carousel moving frantically while swiping.
Gesture Handling Changes: In version 4.0.0, there were significant updates to the gesture handling, including updating react-native-gesture-handler to >=2.9.0 and replacing useAnimatedGestureHandler with a new gesture handler API. These changes might affect how gestures are processed, potentially leading to the behavior you're observing [1].
Swipe Sensitivity Configuration: You can customize swipe sensitivity using the maxScrollDistancePerSwipe and minScrollDistancePerSwipe properties. Adjusting these values might help control the frantic movement you're experiencing [2].
Paging Behavior: The pagingEnabled property ensures that the carousel snaps to items, which might explain why it works fine when enabled. However, if the carousel gets stuck on the first item in the simulator, it could be related to how the simulator handles gestures or a specific configuration issue [3].
Similar Issues: A similar issue was reported and closed, where the carousel had incorrect behavior on direction reversal. This was fixed in a commit that addressed outdated data usage after gesture completion [4].
You might want to experiment with the swipe sensitivity settings and ensure that your gesture handler configurations align with the new API introduced in version 4.0.0.
Describe the bug
When swiping left/right, the carousel moves frantically, it is very difficult to get to the second item, for example, because the carousel moves immediately to the end even with minimal swiping (in the video we really try to swipe left/right very slowly and carefully).
With pagingEnabled it works fine, but on the simulator the carousel gets stuck on the first item and you can't move to any other item, and we also don't want to always enable paging.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
In the previous version [v 3.5.1], the carousel moves slower, it is easy to get to any item.
Versions (please complete the following information):
Smartphone (please complete the following information):
furious_carousel_movementsMP4.MP4
The text was updated successfully, but these errors were encountered: