Commit 9a270e1f authored by Qiu Xiang's avatar Qiu Xiang

修正 example scroll bug

parent 0092ac8e
...@@ -29,7 +29,7 @@ export default class Examples extends Component { ...@@ -29,7 +29,7 @@ export default class Examples extends Component {
} }
render() { render() {
return <ScrollView contentContainerStyle={styles.scrollView}> return <ScrollView style={styles.scrollView}>
<StatusBar barStyle='dark-content' backgroundColor='#e0e0e0'/> <StatusBar barStyle='dark-content' backgroundColor='#e0e0e0'/>
<View style={styles.group}> <View style={styles.group}>
{this._renderItem('地图模式', 'MapTypes')} {this._renderItem('地图模式', 'MapTypes')}
...@@ -61,7 +61,6 @@ export default class Examples extends Component { ...@@ -61,7 +61,6 @@ export default class Examples extends Component {
const styles = StyleSheet.create({ const styles = StyleSheet.create({
scrollView: { scrollView: {
flex: 1,
...Platform.select({ ...Platform.select({
android: { android: {
backgroundColor: '#f5f5f5', backgroundColor: '#f5f5f5',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment