【发布时间】:2018-03-22 21:24:32
【问题描述】:
我试图在 ReactNative 的视图中创建滚动视图。由于某种原因,我无法在 ScrollView 中滚动。
render() {
return (
<View>
<View>
<Text>Top</Text>
</View>
<ScrollView >
<Text>Line 1</Text>
<Text>Line 2</Text>
<Text>Line 3</Text>
<Text>Line 4</Text>
<Text>Line 5</Text>
<Text>Line 6</Text>
<Text>Line 7</Text>
...
</ScrollView>
</View>
);
}
这里有什么问题?我在 Android 上测试
谢谢, 马格努斯
【问题讨论】:
标签: android react-native android-scrollview