question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DeckSwiper doesn't have any function swipeLeft / right?

See original GitHub issue
 <DeckSwiper
             activeOpacity={1}
             dataSource={ listings }
             ref={(deckSwiper) => console.log(deckSwiper)}
             renderItem={(listing) => getListingCard(listing)}
             onSwipeLeft={(listing) => this.onSwipe(true, listing)}
             onSwipeRight={(listing) => this.onSwipe(false, listing)}
           ></DeckSwiper>

When I console.log(deckSwiper) there is no function swipeLeft, or swipeRight on _root or any other properties. In other versions I had those functions but now I don’t.

I’m developing using NativeBase ^2.1.5, and React Native 0.45.1.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8

github_iconTop GitHub Comments

2reactions
shivrajkumarcommented, Jun 30, 2017

@lsps9150414 This will be released with the next version today.

0reactions
lsps9150414commented, Jul 5, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

'jumpToCardIndex' doesn't work when ...
I want the swiper to render previous card on rightSwipe. I have a method(renderPreviousCard) that is called when 'onSwipedRight' event is fired.
Read more >
Join deck swiper function with ellipse - Get Help
The logic in the Swiper is the following: upon swiping left/right, the logged-in user is added to SeenByUsers. And the list in Swiper...
Read more >
Adalo Deck Swiper Component Tutorial - Tinder style swiping
Get 1:1 live consultation and help for Adalo. https://calendly.com/nathancox90/adaloTutorial on how to use the Deck Swiper Component ...
Read more >
Matching Deck Swipe Sessions in Adalo (foodmood app build ...
Find matches between users in Adalo by using the deck swiper component. Then, reset those matches by using a collection list to store...
Read more >
react-native-deck-swiper
Start using react-native-deck-swiper in your project by running `npm i ... function to be called when a card is swiped left. it receives...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found