How to switch tab programmatically in react-navigation showing the animation?

Viewed 277

I'm using the MaterialTopTabNavigationProp, and need to change the selected tab programmatically.
I just tried using navigation.navigate or navigation.jumpTo, everything works fine, but the changing is instant with no animation, is there a way to show the classic tab switching animation?

Thanks everyone

1 Answers
Related