-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
Carousel crashes when swiping in the opposite direction #215
Comments
Hi @aditya-keri-betterhalf, I'm running multiple examples and I found the same gesture issue, let me see what's happening behind the scenes and why is crashing |
I have an implementation of the carousel in production and everything seems to behave correctly, don't crashing reports or bugs. this is a related problem to our exampleExpo project, we will be fixing this soon. |
Hi, @dohooo, thank you for the good carousel module. I have same problem, what described by @aditya-keri-betterhalf. I checked it for the different versions of react-native-reanimated-carousel and dependenced modules (react-native-reanimated and react-native-gesture-handler) and found this bug only in 3.0.1 (there is no bug in 3.0.0). But its reproduced not only for swipe in the opposite direction. I get a similar error on a smartphone (both Android and iOS) with a normal swipe. At first I got this error not on your example, but on prod application. Proof on your example (recorded on iOS device). Links for tests: |
@aditya-keri-betterhalf @AleRaDev12 Thanks for the detailed information, I'll fix it ASAP. |
Fixed in 3.0.3. |
Thank you |
Describe the bug
I've been trying out the examples from exampleExpo repo. Whenever I swipe the cards in the opposite direction of their design, the carousel crashes.
Example : Open StackCards and swipe right or left when the direction is actually vertical. Or open Parallax and swipe up or down when the direction is actually horizontal.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Carousel should not crash and should just ignore the swipe that was done in the opposite diretion.
Screenshots
Carousel.Crash.mov
Versions (please complete the following information):
Smartphone (please complete the following information):
Additional context
NA
The text was updated successfully, but these errors were encountered: