Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

React navigation swipe gesture winning over horizontal scrollview

$
0
0

I have a horizontal scrollview which is part of a tab component, and it works, but when swiping right, it makes the gesture to swipe back and ignores the scrollview.

I know I can disable it in the whole screen but I just want to disable it for this scrollview. Is there any way to do this?

The screen has this config:

{
  defaultNavigationOptions: {
    gesturesEnabled: true,
    gestureResponseDistance: { horizontal: 1000 }
  },
  mode: 'card',
  transitionConfig: () => StackViewTransitionConfigs.SlideFromRightIOS
}

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>