Questions tagged [react-native-deck-swiper]
11 questions
2
votes
0 answers
Understanding npm peer-dependency tree error between react-native and package
I'm trying to understand why I'm receiving a dependency tree error when I try to install the react-native-deck-swiper package. I've already bypassed the error and installed the package using --force or --legacy-peer-deps, but I would like to…

Alex
- 86
- 4
2
votes
0 answers
React Native Deck Swiper onTapCard
I would like to know how can I get the index of the card that is displayed when I click on a button that is outside of the swiper component using ref and current. I managed to get the cards swiping by clicking on a button but now I want to get the…

Bro Lee
- 61
- 3
1
vote
0 answers
React-native-deck-swiper Not displaying first card with images fetched from firebase
React-native-deck-swiper is not displaying first card with images fetched from firebase. Basically I fetch the image urls from firebase. Then I put them into the array currentPageIconArray as sources for the FastImage plugin elements inside…

genericatz
- 433
- 5
- 16
1
vote
0 answers
Content of card does not render when state changed in react-native-deck-swiper
I did a simple example with TouchableOpacity that on press changes the count state from 1 to 2 and displays it as Text,
but the new value is not rerendered.
Any help would be much appreciated
running test on codesandbox:
test
import React,…

Erez
- 6,405
- 14
- 70
- 124
0
votes
0 answers
Activity Indicator is not working inside React native deck swiper
I am using react-native-deck-swiper to show the multiple requests. i have two buttons (Cancel and accept) in each card. When i click any button i want to show the loader on the button until api gives the response. I added the loader but it is not…

Simranjeet Kaur
- 1
- 2
0
votes
2 answers
how to swipe Images with button using react-native-deck-swiper?
I want to swipe images with the help of button i have tried but didn't work. i am using react-native-deck-swiper. is there any anyone who know about it.
{
swiper = swiper;
}}
…

parveen kumar
- 1
- 1
0
votes
1 answer
Overlay label shows up behind that card in react native deck swiper
Here is my code.
On swipe action, the overlay label shows behind the card on swipe right or left. It has something to do with the zIndex of the overlay label. What's the way to make it show up on top of the card instead of behind it. When it's…

kishan doth
- 3
- 1
0
votes
1 answer
how to implement the image rotary using flatlist in react native?
I'm trying to accomplish the vertical carousel as shown in the below gif. I'm struck by the second screen, where when the user scrolls the data from bottom to top or vice versa both the content and image change, how to achieve this? looking forward…
0
votes
1 answer
Is there a way to turn a linear gradient into a background color react native
Im using a library react native deck swiper to be able to swipe cards. I want my screen to have a linear gradient background color, but the issue is it doesn't seem to inherit the linear gradient color if there's a background color set. the swiper…

isaac
- 81
- 1
- 10
0
votes
2 answers
react native deck swiper library
enter image description here
I'm trying to change the layout of the images which are showing below I want to show them on the top I just want to change the layout of the images which are showing below I want to show them above the first…

WAQAS khattak
- 11
- 4
0
votes
1 answer
If Cards Swiped fast only then useEffect going into infinite loop
The issue I am facing is when I am swiping the cards really fast then my useEffect is being called infinitely which is messing up my deck of cards. Whereas my useEffect should only be called when current card Index changes but its happening…

sarthak gupta
- 826
- 4
- 12