nandorojo/moti

Sequences not working

Closed this issue · 6 comments

Hello.
Simple code from examples not working:

<MotiView
  animate={{
    scale: [0, 1.1, { value: 1, delay: 200 }],
  }}
/>

Raises error:
drawing


Environment:

Bare react-native, not Expo

"moti": "0.17.1",
"react-native-reanimated": "2.3.1",

It looks like there is an issue with sequences since reanimated 2.3. I’ve heard from a few other people. I’ll try to debug this, thanks! I’m wondering if it’s related to the Babel plug-in, because I can’t repro it in the example app of the Moti repo.

Tested it with moti@canary but it doesn't work

I can confirm this issue. And I double checked with #141 and "EXPO_USE_EXOTIC" is not the issue here

Same here. Expo sdk 44

This issue will be fixed once this is merged:
software-mansion/react-native-reanimated#2851

I checked against the branch and it is working.

This issue will be fixed once this is merged: software-mansion/react-native-reanimated#2851

I checked against the branch and it is working.

Great news! :)

By the way, would you mind to have a look?
#165