react-native-reanimated-carousel icon indicating copy to clipboard operation
react-native-reanimated-carousel copied to clipboard

3D cube animation cannot work with Android

Open hiendc170196 opened this issue 2 years ago • 1 comments






**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**

hiendc170196 avatar May 17 '23 16:05 hiendc170196

Reanimated has bug. Change order of transformations:

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

ku8ar avatar Dec 20 '23 13:12 ku8ar