Authored by 孙凯

闪动bug review hongmo

... ... @@ -11,6 +11,7 @@ const {
Dimensions,
TouchableOpacity,
WebView,
LayoutAnimation,
} = ReactNative;
... ... @@ -79,6 +80,7 @@ export default class DetailText extends React.Component {
handleNavigationChange(navState) {
let heightT = parseInt(navState.title, 10) || 0; // turn NaN to 0
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut);
this.setState({
realContentHeight: heightT,
});
... ... @@ -126,5 +128,5 @@ export default class DetailText extends React.Component {
let {width, height} = Dimensions.get('window');
let styles = StyleSheet.create({
});
... ...