react-native-animatable icon indicating copy to clipboard operation
react-native-animatable copied to clipboard

transitionTo not working on android

Open sundayhd opened this issue 8 years ago • 5 comments

I tried everything, transitionTo is not working for me.

other animations works well, when im trying to use transitionTo nothing happen.

react-native-animatable Version: 1.1.0 react-native Version: 0.40

sundayhd avatar Jan 06 '17 17:01 sundayhd

import * as Animatable from 'react-native-animatable'; export default class testing extends Component { constructor(props) { super(props); if (Platform.OS === 'android') { UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true); //UIManager.setLayoutAnimationEnabledExperimental(true); }
} componentDidMount(){ // LayoutAnimation.configureNext(CustomLayoutLinearSlow); this.refs.loadingText.fadeInDownBig(1600); } render(){ return(<View style={{backgroundColor:'yellow',height:100, width:300, flex:1}} > <Animatable.View ref="loadingText"> <Text style={[{ flex: 1, textAlign: 'center', color: 'green' }]}>Please wait. Loading content...</Text> </Animatable.View> </View>); } }

Not any animation is working on android.. Please help...Thanks in advance

vivekguptaraw avatar Jan 25 '17 06:01 vivekguptaraw

+1

DClark5218 avatar Jan 25 '17 18:01 DClark5218

any updates on this ? I believe this is a very critical problem

manishoo avatar Sep 12 '17 06:09 manishoo

It seems like the problem was that I had my Remote Js Debugging on and it prevented the animations from happening

manishoo avatar Sep 12 '17 06:09 manishoo

Disabling remote JS debugging and restarting the emulator fixes that problem for me too.

artshevtsov avatar Oct 11 '19 10:10 artshevtsov