react-native-tab-view icon indicating copy to clipboard operation
react-native-tab-view copied to clipboard

Capturing gestures on leftmost / rightmost tabs

Open nielsmadan opened this issue 5 years ago • 2 comments

Current behaviour

I have two tabs. The right tab has a list and the list items are implementing swipe to delete behavior using react-native-swipe-list-view from the right side (so swiping from right side of the screen left). This does not work because the tab view captures the gestures.

Expected behaviour

For the rightmost or leftmost tabs, this library should only capture gestures that originate on the side of the screen where there is another tab to swipe to. So if you are on the rightmost tab, there is no point to capture gestures that start on the right side of the screen, since it's not possible to swipe on that side anyway.

Your Environment

software version
ios 13.5
react-native 0.62.2
react-native-tab-view 2.14.4
react-native-gesture-handler 1.6.1
react-native-reanimated 1.9.0
node 12.18.0
yarn 1.17.0

nielsmadan avatar Jul 11 '20 12:07 nielsmadan

Couldn't find version numbers for the following packages in the issue:

  • react-native-tab-view
  • react-native-gesture-handler
  • react-native-reanimated
  • ``

Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

github-actions[bot] avatar Jul 11 '20 12:07 github-actions[bot]

Hey! Thanks for opening the issue. Seems that this issue is in react-native-pager-view library which is a dependency of react-native-tab-view. Can you also post your issue in this repo so that it's notified to the maintainers of that library? This will help us fix the issue faster since it's upto the maintainers of that library to investigate it.

github-actions[bot] avatar Jul 29 '21 13:07 github-actions[bot]