deanhet / react-native-text-ticker

React Native Text Ticker/Marquee Component
MIT License
444 stars 75 forks source link

Not working inside of a Animated.Text #89

Closed charitha95 closed 3 years ago

charitha95 commented 3 years ago

Thanks for the library, I love it. My issue is, when I wrap the TextTickercomponent with an Animated.Text, it doesn't animate as we expected

<Animated.Text  numberOfLines={1} style={[styles.headerTitle, { opacity: nameOpacity }]}  >
   <TextTicker
      style={{ fontSize: 24, color: 'white' }}
      duration={3000}
      loop
      bounce
      repeatSpacer={50}
      marqueeDelay={1000}
    >
        Super long piece of text is long. The quick brown fox jumps over the lazy dog.
    </TextTicker>
</Animated.Text>
charitha95 commented 3 years ago

I think I have messed up before. It works fine. Closing so