Open leonie-koch opened 3 years ago
Do we have any fix?
this happening only when adding the below lines
loop={true} loopClonesPerSide={containerItem.resources && containerItem.resources.length}
same issue, it occur with our 1 device test.
@l30ni3 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?
Not platform specific
Is the bug reproductible in a production environment (not a debug one)?
Only debug mode
Environment
Environment: React: 17.0.1 React native: 0.64.0 react-native-snap-carousel: ^3.9.1
Expected Behavior
I'd like to make jest snapshots of my carousel UI.
Actual Behavior
I am getting the following error:
If I mock react-native-snap-carousel the test passes (currently commented in code). Here is my test file:
And my component:
Steps to Reproduce
(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)