I use LayoutAnimation for that, just before the state change that causes your component’s height to change, add:
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut);
You can use different presets:
- spring
- easeInEaseOut
-
linear
You can read more about it here https://facebook.github.io/react-native/docs/layoutanimation.html