react-native-parallax-scroll-view icon indicating copy to clipboard operation
react-native-parallax-scroll-view copied to clipboard

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

Open boxOfAces opened this issue 7 years ago • 11 comments

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?

boxOfAces avatar Nov 18 '17 17:11 boxOfAces

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

alkanyunus avatar Nov 22 '17 22:11 alkanyunus

+1 Me too

miladnikad avatar Jan 01 '18 07:01 miladnikad

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

taluttasgiran avatar Jan 22 '18 06:01 taluttasgiran

+1 No click events work inside renderBackground

ejkkan avatar Feb 15 '18 10:02 ejkkan

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

shidaying avatar Aug 08 '18 13:08 shidaying

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?

geminiyellow avatar Aug 31 '18 07:08 geminiyellow

renderForeground working perfectly

masineedi avatar Sep 21 '18 05:09 masineedi

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

anwaro avatar Jan 30 '19 18:01 anwaro

this is due to position:'absolute' in backgroundImage

marryjin avatar May 19 '20 07:05 marryjin

this is due to position:'absolute' in backgroundImage

how to fix it ?

David-Nguyen17 avatar Jun 04 '20 17:06 David-Nguyen17

@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

numandev1 avatar Jun 04 '20 17:06 numandev1