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
Hey @carter-0! I'm here to help you with any bugs, questions, or contributions you have. Let's work together to solve this issue!
The crash you're experiencing on iOS when using <Carousel /> with customAnimation on Expo SDK 52 with the new architecture enabled is due to a precision error in the zIndex calculation. To fix this, you can modify the zIndex calculation in your animationStyle function by adding Math.round() to the zIndex interpolation:
This adjustment should resolve the 'Loss of precision during arithmetic conversion' error. Additionally, ensure that you are using the latest version of react-native-reanimated-carousel, as a patch has been released to address this issue with the new architecture enabled [1].
Describe the bug
Using
<Carousel />
withcustomAnimation
on Expo SDK 52 with new arch enabled will instantly crash the app on iOS, untested on Android.To Reproduce
Steps to reproduce the behavior:
The app will crash once the
autoPlayInterval
has elapsed. This replicates with othercustomAnimation
s from https://rn-carousel.dev/custom-animations.Versions (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: