React-Native-Swiper doesn't work when used in renderBackground
See original GitHub issueI 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?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:11
Top Results From Across the Web
REACT SWIPER DOESN'T SHOW IMAGES - Stack Overflow
The main problem is the way you provide the src prop of your images: <image classname="swiper-image" src={images[0]}.
Read more >swiper.activeindex react | The AI Search Engine You Control
I would like to ask if there is a way to control/set the active slide with swiper/react? I have tried to handle the...
Read more >RefreshControl - React Native
This component is used inside a ScrollView or ListView to add pull to refresh functionality. When the ScrollView is at scrollY: 0 ,...
Read more >react-native-deck-swiper - npm
A possible fix for the situation is setting the cardIndex on the parent component whenever deck re-renders are needed. const { cardIndex }...
Read more >How to Create Swiper in React Native? - eduCBA
import React, { Component } from 'react'; import { StyleSheet, View, Text } from 'react-native'; import Swiper from 'react-native-swiper'; export default class ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi all, i use other swiper,
react-swipeable-views
and put it inrenderForeground
, it working. so i guess, background was covered by foreground, right? is really click background need?@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