MotiView mount animation is not fired in some circunstances
hlarrainq opened this issue · 5 comments
Is there an existing issue for this?
- I have searched the existing issues
Do you want this issue prioritized?
- Yes, I have sponsored
- Not urgent
Current Behavior
MotiView mount animation is not fired in some circunstances (Android Emulator, iOS playing pip videos, and another random moments on both platforms). I have the suspect that is caused by a incompatibility from NativeBaseProvider.
Expected Behavior
MotiView mount animation should start at any circunstance.
Steps To Reproduce
- Create a Expo + RN project.
- Create a MotiView with a mount animation using from and animate props.
- Use NativeBase and wrap the view with NativeBaseProvider
- Open Expo Go on Android Emulator and start to use the app
- Eventually, all animations will stop the mount transitions. (This is not fully reproducible, because sometimes works and sometime fails, i can't find the bug)
Versions
- Moti: 0.25.4
- Reanimated: ~3.3.0
- React Native: 0.72.4
Screenshots
No response
Reproduction
I removed NativeBaseProvider wrapper from my app, but i still get the random stuck mount animation on Android :(
Don't know how to reproduce this well, but it is affecting my users. Any info is helpful!
Is your code sample reproducing it?
Hey Fernando,
I encountered the issue. The problem is related to reanimated 3.3.0
software-mansion/react-native-reanimated#4434
I was using Expo Go with the latest version of reanimated for it, but i was able to fix it updating and creating a development build.
Thanks for your library!
@hlarrainq Thank you for the information. You pointed me to the right solution also. ❤️
(Btw you could probably close this issue as it is not caused by Moti 😊)