deanhet / react-native-text-ticker

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

Error using within FlatList #105

Open diguini opened 3 years ago

diguini commented 3 years ago
<View style={{width: undefined}}>
    <TextTicker 
      style={styles.lessonCardNameText}
      duration={7000}
      repeatSpacer={50}
      marqueeDelay={1000}
      bounceDelay={1000}
      animationType={'bounce'}
    >
      {name}
    </TextTicker>
</View>

When i use inside a FlatList render item, my app crashes and throw this error. If i remove animationType={'bounce'} it's work.

image

NastuzziSamy commented 2 years ago

@diguini https://github.com/deanhet/react-native-text-ticker/issues/68