3DJakob/react-tinder-card

[Question]: How to capture swipe moves before committing?

wiseaidev opened this issue · 1 comments

Hey @3DJakob, Thanks for the package. I am currently in the process of building the most advanced Tinder clone on earth using React, MUI, and Redux for the client. At the moment, I am wondering how to display "NOPE" and "LIKE", like the real one, when dragging a card, but before committing the swipe, know what I am saying? For now, I built a custom logic for the buttons to display labels upon clicking. And it is working as expected. Take a look at the following demo:

vokoscreen-2022-11-23_16-28-32.mp4

For reference, you can check out:

Don't forget to smash that ⭐ button an odd number of times for future updates.
Regards.

Glad you like the package. This is a duplicate of #128 please refer to it.