React-native-snap-carousel: Parallax image is not showing

Created on 18 Apr 2018  路  3Comments  路  Source: meliorence/react-native-snap-carousel

Hello team,

 Thanks for creating such fabulous library. I am using carousel to show the images in sections. I wrote following code.

```
_renderCarouselRow({item, index}, parallaxProps) {
return (
style={{ marginLeft: 2, marginRight: 2, flex:1}}
source={{uri:item.image}}
containerStyle={{width:sliderWidth - 30, height:300, backgroundColor:'red'}}
parallaxFactor={0.4}
blurRadiusStart={3}
blurRadiusEnd={1}
unBlurDuration={1000}
/>
{ item.title }


);
}

```
Here I can't see the image on the screen. I can see red background color. My image uri is correct. I can see only loading indicator. I tried by hardcoding the image path, but still no luck. Also in the view I can't see text also.
Am I missing something? Please guide me.

contribution? reproduction?

Most helpful comment

I have the same issue
Update: renderItem for ParallaxImage is little different _renderItemWithParallax ({item, index}, parallaxProps) . you must add **parallaxProps**

All 3 comments

鈿狅笍 You did not follow the contributing guidelines!

As stated in these:

You need to fill out the issue template. This step is mandatory! Not doing so will result in your issue getting closed. Don't take this personally if this happens, and feel free to open a new issue once you've gathered all the information required by the template.


Unless you provide a Snack example that reproduces the issue, we won't be able to help you and the issue will be closed.

Also, I don't know how you did come up with the following props as they never were implemented: blurRadiusStart, blurRadiusEnd and unBlurDuration.

Closing as no further feedback was provided.

I have the same issue
Update: renderItem for ParallaxImage is little different _renderItemWithParallax ({item, index}, parallaxProps) . you must add **parallaxProps**

Was this page helpful?
0 / 5 - 0 ratings