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

时间:2017-02-09 12:56:08

标签: react-native

我该怎么做?

<ScrollView horizontal={true}>            // Not actually present in the same component
    <ScrollView horizontal={true}         // as that of this ScrollView
                onTouchRecognized={()=>{parentScollView.lock()}}>
    </ScrollView>
</ScrollView>

onTouchRecognized={()=>{parentScollView.lock()} 的正确方法是什么?

0 个答案:

没有答案