oblador / react-native-shimmer

Simple shimmering effect for any view in React Native
MIT License
700 stars 90 forks source link

Shimmer not showing on Interactable.View #24

Closed karlasamantha closed 3 years ago

karlasamantha commented 4 years ago

Hey there!

I have created a Shimmer component and using it inside and Interactable.View element, and it does not work. Does it work within third party elements or just React Native components?

Shimmer component:

<Shimmer style={styles.shimmerContainer} pauseDuration={0} opacity={0}>
    <Text style={styles.shimmerLoader} />
</Shimmer>

View component:

<Interactable.View>
    <ShimmerCard />
    <View style={cardStyles}>
        {content}
    </View>
</Interactable.View>

React native version 0.59.10 react-native-shimmer version 0.4.1