Open Code-Victor opened 6 months ago
I think I'm running into something similar.
I have a carousel with two items. The carousel ref thinks there are 4 items in the carousel, but the data only has 2 items. Other carousels are fine as long as they have more than 2 items.
This is only an issue for carousels with 2 items? Anyone else running into something similar?
I'm on 4.0.0-alpha.10
We also have this problem
Bug Description
Overview: Encountering unexpected behaviors when using the
react-native-reanimated-carousel
library to build a flashcard list. The issues vary depending on the number of items in the data array.Issues:
Data Length > 2 (Expected Behavior):
Data Length = 2 (Erroneous Behavior):
Data Length = 1 (Erroneous Behavior):
Screenshots:
Behavior with more than two items:
Behavior with exactly two items:
Behavior with a single item:
To Reproduce Here's my code
Flipcard
Expected behavior I hope I can get a consistent behavior like the first one(many items)
Versions (please complete the following information):
Smartphone (please complete the following information):