react-swipeable-views
react-swipeable-views copied to clipboard
Question: possible to designate swipeable area?
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
Question: is it possible (or would it be possible as a feature request) to designate that certain areas of the slide can or can't be swiped?
Current Behavior
Entire area of slide can be swiped
Steps to Reproduce (for bugs)
N/A
Context
I was thinking of using this as a navigation stack component, similar to StackNavigator, but for ReactJS in a Cordova app. The idea would be that you could swipe the left edge to go back, like in most mobile apps, but any touch gestures on the rest of the slide would be ignored by RSV and passed on to my components.
Your Environment
Tech | Version |
---|---|
react-swipeable-views | any |
React | any |
platform | cordova |
etc |
I need this feature as well
Me too! I want to put a video in the top of the swipeable, the related videos goes below with scroll-y (like youtube do). The problem is that I can't scroll down by swiping, because the swipeable closes.
Has anyone come up with a good solution for this? I think it would be a great feature!