React Native Reanimated 2 Entering Animations doesn't work
Asked Answered
S

2

6

I'm trying to use https://docs.swmansion.com/react-native-reanimated/docs/api/LayoutAnimations/entryAnimations

From the documentation it seems pretty simple but when I run the code below nothing happens:

...
import Animated, { AnimatedLayout, FadeInRight } from "react-native-reanimated";

...
  return (
    <Animated.View
      entering={FadeInRight.delay(3000)}>
    ...
    </Animated.View>

In my package.json I'm using "react-native-reanimated": "^2.3.0-beta.3".

What am I missing? Is there some recommended tutorial on this topic?

Sherman answered 25/11, 2021 at 15:46 Comment(0)
B
10

I had a similar issue. They are no longer supporting remote debugging. Turning off the remote debugging worked for me.

They mention it in their documentation but it is not highlighted. https://docs.swmansion.com/react-native-reanimated/docs/next/#known-problems-and-limitations

Bernete answered 8/5, 2022 at 18:42 Comment(0)
T
1

Been trying it out for a very long time. This thing just doesn't work and it is frustrating

Tabescent answered 7/1, 2022 at 3:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.