React-Native Animated don't work with near setState

后端 未结 0 1551
悲哀的现实
悲哀的现实 2021-01-03 08:24
let animatedHeight = new Animated.Value(50);

const animate = () => {
    animatedHeight.setValue(50);
    Animated.timing(animatedHeight, {
      toValue: 0,
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题