dohooo / react-native-reanimated-carousel

🎠 React Native swiper/carousel component, fully implemented using reanimated v2, support to iOS/Android/Web. (Swiper/Carousel)
https://react-native-reanimated-carousel.vercel.app
MIT License
2.7k stars 311 forks source link

3D cube animation cannot work with Android #408

Open hiendc170196 opened 1 year ago

hiendc170196 commented 1 year ago


**Is your feature request related to a problem? Please describe.**
I have using the code for 3d cube transition provided by author, it's worked nice on iOS but none for Android, I want to know why and how to fix it? Please help

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
ku8ar commented 8 months ago

Reanimated has bug. Change order of transformations:

  const transform = {
        transform: IS_IOS
          ? [{ scale }, { translateX }, { perspective }, { rotateY }]
          : [{ perspective }, { scale }, { translateX }, { rotateY }]
      }