| software | version
| ---------------------------- | -------
| ios or android |
| react-native |
| react-native-tab-view |2.0.1
| react-native-gesture-handler |
| react-native-reanimated |
| node |
| npm or yarn |
@wuchangming It was removed in 2.0.1 version. See other breaking changes here
@dsznajder it’s there any way to disable the animation between the switch of the Tabs?
@wuchangming I would go for downgrade of a module and lock it to some previous version. As you can see in release changes, this library will keep current behaviour with animating tabs.
@wuchangming consider migrating to a different library if you don't want animations.
animationEnabled was a useful prop, will great if you recover it
@satya164 Would you accept a PR that re-enables animationEnabled?
Context: I am dynamically adding/removing tabs in some conditions (while preserving the active tab). The tabview has an animation if the new index of the active tab is different from the old index of that particular tab (e.g if I add more tabs before the previously active tab). This looks a bit weird to the user so I would like to get rid of it.
I could remove animation with timingConfigprops:
timingConfig={{
duration: 1,
}}
Most helpful comment
animationEnabled was a useful prop, will great if you recover it