react-tinder-card icon indicating copy to clipboard operation
react-tinder-card copied to clipboard

Updating preventSwipe array prop after initial render does not take effect.

Open Ashutosh-Roxiler opened this issue 3 years ago • 2 comments

Thats why Which causes UI distortion bec user can swipe very fast also again and again towards right only this issue occurs on mobile browsers only. #31 also trying to get rid of this problem. can'tfind any solution. Any help will be genuinely appreciated.

https://user-images.githubusercontent.com/85158856/155265845-602aa16e-762b-470f-8f88-199a6c5aa744.mp4

Ashutosh-Roxiler avatar Feb 23 '22 05:02 Ashutosh-Roxiler

I think that the problem with the cards being visible outside of the screen could be fixed by using overflow: hidden; on the container?

LinusU avatar Feb 28 '22 10:02 LinusU

Yes exactly like Linus said just add overflow: hidden; on your parent container like the app container and it will work 👍

3DJakob avatar Mar 03 '22 08:03 3DJakob