react-swipeable-views icon indicating copy to clipboard operation
react-swipeable-views copied to clipboard

Question: possible to designate swipeable area?

Open jacobweber opened this issue 6 years ago • 3 comments

  • [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

jacobweber avatar Apr 07 '18 19:04 jacobweber

I need this feature as well

kenttan0214 avatar Jun 20 '18 07:06 kenttan0214

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.

cabaleiro8 avatar Oct 02 '19 11:10 cabaleiro8

Has anyone come up with a good solution for this? I think it would be a great feature!

marioaks avatar Apr 23 '20 19:04 marioaks