i6mi6 / react-native-parallax-scroll-view

A ScrollView-like component with parallax and sticky header support.
ISC License
2.31k stars 379 forks source link

React-Native-Swiper doesn't work when used in renderBackground #91

Open boxOfAces opened 7 years ago

boxOfAces commented 7 years ago

I am trying to use react-native-swiper by leecade (https://github.com/leecade/react-native-swiper) in renderBackground with images, but all that is displayed is an opaque background. I tinkered with the index.js code, importing the swiper component there, and replacing the Animated.View with a simple View, but to no avail. Can somebody shed some light on this?

alkanyunus commented 6 years ago

I have also same problem. Swiper scrolling doesn't work.

miladnikad commented 6 years ago

+1 Me too

taluttasgiran commented 6 years ago

+1 If these features are added. That would be nice.

ejkkan commented 6 years ago

+1 No click events work inside renderBackground

shidaying commented 6 years ago

Do anybody solve this problem? The author will be nice if he can add the function

geminiyellow commented 6 years ago

hi all, i use other swiper, react-swipeable-views and put it in renderForeground, it working. so i guess, background was covered by foreground, right? is really click background need?

masineedi commented 6 years ago

renderForeground working perfectly

anwaro commented 5 years ago

renderForeground is not working as it is not giving parallax effect that the library is all about, +1 for workaround

marryjin commented 4 years ago

this is due to position:'absolute' in backgroundImage

David-Nguyen17 commented 4 years ago

this is due to position:'absolute' in backgroundImage

how to fix it ?

numandev1 commented 4 years ago

@VanDu97 I did not resolve swiper in renderBackground. I just put forward and back button through position absolute in renderForground to handle my swiper but I cannot handle swiper by touch in my case this is OK