Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28460

Sometimes Transition.Out doesn't work in react-native-reanimated

$
0
0

So I'm using createAnimatedSwitchNavigator to switch between screens and react-native-reanimated to provide animation (tested on Android).

My Transition.In works every time but sometimes, Transition.Out doesn't even fire and instead, the prior screen just disappears.

Here's my transition code so far:

      <Transition.Together>
        <Transition.Out
          type="slide-left"
          durationMs={800}
          interpolation="linear"
        />
        <Transition.In
          type="slide-right"
          durationMs={300}
        />
      </Transition.Together>

Viewing all articles
Browse latest Browse all 28460

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>