oblador / react-native-parallax

Parallax effects for React Native using Animated API
MIT License
583 stars 78 forks source link

Warning: ParallaxScrollViewComposition #19

Closed vedovato closed 7 years ago

vedovato commented 8 years ago

Hey, i'm facing this issue when implementing your package the very same way as said in the examples folder but i'm also seeing the warning below. How do i fix it since it IS setting the ref?

Warning: ParallaxScrollViewComposition:refis not a prop. Trying to access it will result inundefinedbeing returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)

That's the code i'm implementing. Pasted whole document in this link and a screenshot (to simplify) below:

Warning: Warning

Code: Implementation

I appreciate your time, thank you!

huchenme commented 8 years ago

same here

vedovato commented 8 years ago

I made a fork of it and managed to make it work without this issue, @huchenme. You can refer this url in your package.json.

https://github.com/vedovato/react-native-parallax

vedovato commented 7 years ago

Well, no response. Let's close it since i made it by myself and referenced above