Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrollable Card Issue: #5

Open
kedarshenoy opened this issue Aug 2, 2024 · 0 comments
Open

Scrollable Card Issue: #5

kedarshenoy opened this issue Aug 2, 2024 · 0 comments

Comments

@kedarshenoy
Copy link

kedarshenoy commented Aug 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant