savinvadim1312 / tinderclone Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Can you please provide some demo (pictures / gifs / video) how it looks on the phone?
I made card in my project scrollable using a ScrollView. However, I am experiencing an issue where, after scrolling the view slightly and then swiping the card, the second card starts from the same position as the first card. This issue affects the smoothness and functionality of the card swipe interaction. Any help or suggestions to resolve this problem.
I have tried using useRef and scrolling back to 0, but the issue persists because it only gets resolved after rendering is complete.
My code sample: https://gist.github.com/kedarshenoy/cbc3097ec41706b0c19c58dd3523d567
I've implemented the code in a Expo managed project,
"expo": "~46.0.16",
"react": "18.0.0",
"react-native": "0.69.6",
"react-native-gesture-handler": "~2.5.0",
"react-native-reanimated": "~2.9.1",
When I swipe the card, it shows the next card and then glitched showing "a blink" of the swiped card...
Any ideas on how to solve it?
This is not the full code, only kind of two screens.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.