React native 如何在react native中处理内部滚动

React native 如何在react native中处理内部滚动,react-native,React Native,我该怎么做 <ScrollView horizontal={true}> // Not actually present in the same component <ScrollView horizontal={true} // as that of this ScrollView onTouchRecognized={()=>{parentScollView.lock()}}>

我该怎么做

<ScrollView horizontal={true}>            // Not actually present in the same component
    <ScrollView horizontal={true}         // as that of this ScrollView
                onTouchRecognized={()=>{parentScollView.lock()}}>
    </ScrollView>
</ScrollView>
//实际上不存在于同一组件中
{parentScollView.lock()}}>

正确的方法是什么?

此外,我正在尝试执行中提到的操作,但我该怎么做?您解决了这个问题吗?我在
react native scrollable tab view
中有水平
平面列表
平面列表
工作正常,但在
平面列表
上向左滑动时,我需要更改可滚动的选项卡,并且没有项目可以滚动另外,我正在尝试执行中提到的操作,但是我该如何做?您解决了这个问题吗?我在
react native scrollable tab view
中有水平
FlatList
FlatList
工作正常,但在
FlatList
上向左滑动时,我需要更改可滚动选项卡,并且没有项目可以滚动