Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White background in animation after updating to v6 #2353

Closed
dshuvalov opened this issue Aug 7, 2023 · 1 comment · Fixed by #2377
Closed

White background in animation after updating to v6 #2353

dshuvalov opened this issue Aug 7, 2023 · 1 comment · Fixed by #2377

Comments

@dshuvalov
Copy link

dshuvalov commented Aug 7, 2023

Describe the bug

White background is displayed in my animation. After upgrading lottie-react-native package up to v6.1.0 (under the this package contains lottie-android v6.1.0) I had a strange white background in my animation. At the previous versions of lottie (v5) I didn't have such problem.

What version of Lottie did you test this on?
v6.1.0

What version of Android did you test this on?
13

Steps To Reproduce
Steps to reproduce the behavior:

import mintingUnpackingAnimation from '../../hooks/minting-unpacking.json';

  const mintingUnpackingAnimationObj = useMemo(
    () => JSON.parse(JSON.stringify(mintingUnpackingAnimation)),
    // it's intentional to re-create the object for each sticker pack to avoid showing minted stickers from previous pack
    // eslint-disable-next-line react-hooks/exhaustive-deps
    [stickerPack.id]
  );
       <LottieView
          style={[StyleSheet.absoluteFill]}
          loop={false}
          source={mintingUnpackingAnimationObj}
          resizeMode="cover"
        />

Screenshots

Video

Screenrecorder-2023-08-02-17-40-54-415.mp4

White background bug
Снимок экрана 2023-08-07 в 13 59 29

File with animation

minting unpacking.json.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant