prscX / react-native-siri-wave-view

React Native: Native Siri Wave View

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple waves on iOS: Only first animates

techtunde opened this issue · comments

commented

I am trying to display multiple waves on the same screen (whether in separate views or a single parent view), but only the first one animates. Does anyone have any idea why?

<View style={{paddingBottom:wave_buffer()}}> <RNSiriWaveView backgroundColor={'transparent'} width={wave_width()} height={wave_height()} numberOfWaves={1} startAnimation={true} stopAnimation={false} /> </View> <View style={{paddingBottom:wave_buffer()}}> <RNSiriWaveView backgroundColor={'transparent'} width={wave_width()} height={wave_height()} numberOfWaves={1} startAnimation={true} stopAnimation={false} /> </View> <View style={{paddingBottom:wave_buffer()}}> <RNSiriWaveView backgroundColor={'transparent'} width={wave_width()} height={wave_height()} numberOfWaves={1} startAnimation={true} stopAnimation={false} /> </View> <View style={{paddingBottom:wave_buffer()}}> <RNSiriWaveView backgroundColor={'transparent'} width={wave_width()} height={wave_height()} numberOfWaves={1} startAnimation={true} stopAnimation={false} /> </View> <View style={{paddingBottom:wave_buffer()}}> <RNSiriWaveView backgroundColor={'transparent'} width={wave_width()} height={wave_height()} numberOfWaves={1} startAnimation={true} stopAnimation={false} /> </View> <View style={{paddingBottom:wave_buffer()}}> <RNSiriWaveView backgroundColor={'transparent'} width={wave_width()} height={wave_height()} numberOfWaves={1} startAnimation={true} stopAnimation={false} /> </View>