dancormier / react-native-swipeout

iOS-style swipeout buttons behind component
MIT License
2.62k stars 645 forks source link

Doesn't work swipe in scrollableTabView #311

Open JinChengSu opened 5 years ago

JinChengSu commented 5 years ago

when scroll tab view, didn't work swipeout. left and right all. how to prevent swipeout from parent tab view

Akash-Kumar-Gaur commented 5 years ago
<ScrollableTabView
       locked={true}>
        <ReactPage tabLabel="React" />
        <FlowPage tabLabel="Flow" />
        <JestPage tabLabel="Jest" />
</ScrollableTabView>

Use locked={true} as props, it will lock the scroll of ScrollableTabView and swipe will work as expected.