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

Swipeable interfering with ScrollView #591

Closed
alexthebake opened this issue Apr 29, 2019 · 3 comments
Closed

Swipeable interfering with ScrollView #591

alexthebake opened this issue Apr 29, 2019 · 3 comments

Comments

@alexthebake
Copy link

I'm trying to use the Swipeable component inside of a ScrollView to implement "swipe to delete". The swipe to delete feature and the ScrollView work as expected. However, if I try to scroll up and down and start a vertical gesture on a Swipeable, it registers a horizontal gesture instead. I thought maybe something like friction would fix this, but it seems like that doesn't work. Is there already a prop or solution for this? Some kind of threshold for registering the right gesture, or a common way to use Swipeable within a ScrollView?

@jkadamczyk
Copy link
Contributor

Hey there @alexthebake, would you mind posting some kind of a video with pointer enabled to let us see what do you exactly mean? Also in the example app, there is a scrollable list with Swipeables. If there is not enough data to scroll just copy some objects and it will be scrollable it is in dir Example/swipeable/index.js to be precise.

@jakub-gonet
Copy link
Member

Hi @alexthebake!

I think this issue is outdated and @adamczyk777 provided a viable solution so I'm closing it.

@kopax
Copy link

kopax commented May 16, 2020

Hello, I am facine the same issue, what's the fix please? I have checked for adamczyk777 on the repo and I am not finding any viable solution..

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

4 participants