lottie-ios icon indicating copy to clipboard operation
lottie-ios copied to clipboard

Animation layer is missed - Frames cutted off

Open moniquealtero opened this issue 4 years ago • 6 comments

I was working on the update of React Native and project's libraries update but I noticed that some animation on iOS is being cutted off some layers and before this it was working fine (also it looks fine on Android).

This issue is a:

  • [X] Non-Crashing Bug (Visual or otherwise)

Which Version of Lottie are you using?

"lottie-ios": "3.1.9", "lottie-react-native": "3.5.0", "react-native": "0.63.4",

What Platform are you on?

  • [X] iOS

What Language are you in?

  • [X] Swift

Expected Behavior

android

Actual Behavior

IOS

Code Example

 <View style={styles.animationWrapper}>
        <LottieView
          source={Animations.wallet}
          autoPlay
          style={styles.animation}
          loop={false}
          ref={animationOne}
        />
  </View>

Animation JSON

Onine link: https://codebeautify.org/online-json-editor/cbb2bd65

Probably related to:

https://github.com/lottie-react-native/lottie-react-native/issues/615 https://github.com/airbnb/lottie-ios/issues/1199 https://github.com/airbnb/lottie-ios/issues/1186

moniquealtero avatar Jan 26 '21 22:01 moniquealtero

I have same issue,how to fix this ?

zhangyy2017 avatar Jan 29 '21 13:01 zhangyy2017

I'm iOS , use "lottie-ios": "3.1.9"

zhangyy2017 avatar Jan 29 '21 13:01 zhangyy2017

Você conseguiu resolver seu problema, Monique? Estou com o mesmo problema, porém em outra animação. (Android)

LPFr3D avatar Feb 27 '21 18:02 LPFr3D

Você conseguiu resolver seu problema, Monique? Estou com o mesmo problema, porém em outra animação. (Android)

@LPFr3D Fiz downgrade para 3.0.3.

moniquealtero avatar Mar 01 '21 22:03 moniquealtero

Any solution for this, Even I am also getting same

AnilkumarRabhasa avatar May 20 '21 02:05 AnilkumarRabhasa

I have the same problem with this: https://lottiefiles.com/5201-progress-bar file

sidvenu avatar May 22 '21 04:05 sidvenu

This animation appears to play correctly on master:

calda avatar Aug 04 '22 01:08 calda