Open mkrotel14 opened 5 years ago
+1
I managed to get the carousel to work, but I have to perform a double click action , Is there another way to do?
Same problem here, any solution?
I kind abandoned the way I was doing inside a Animation.View and made a rework at my screen to fit all the necessary infos. At the time I didn't get any response for this problem
Sorry, please allow me to advertise for my open source library! ~ I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2
Is this a bug report, a feature request, or a question?
bug
Have you followed the required steps before opening a bug report?
(Check the step you've followed - put an
x
character between the square brackets ([]
).)Have you made sure that it wasn't a React Native bug?
Yes
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
IOS works flawlessly, but on Android it doesn't work at all, just one animation at time
Is the bug reproductible in a production environment (not a debug one)?
The app crashes at production, but on debug you can see that the animations doesn't work
Environment
"react": "16.8.3", "react-native": "0.59.8", "react-native-snap-carousel": "^3.8.0",
Target Platform: Android (9.0) iOS (12)
Expected Behavior
Expected to have a translateY animation for the entire carousel, and the slide animation of the carousel itself
Actual Behavior
If I put the Carousel inside a Animated.View with a translateY with
pointerEvents: 'box-only'
the translateY works, but, if I setpointerEvets: 'box-none'
only the carousel animation work normally, the animations didn't work togetherReproducible Demo