Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28476

Scroll View not working on android pixel simulator, but its working on ios devices and simulator

$
0
0
    return (
    <View style={{
        flexGrow: 1,
        flex: 1,
        height: Dimensions.get('window').height,
        flexDirection: 'column',
    }}> 
    <ScrollView horizontal={false} contentContainerStyle={{flexGrow: 1}} >

        {<View style={{
            flex: 1
        }}>
            <LocationPicker navigation={this.props.navigation} onLocationPicked={this.locationPickedHandler}/>
        </View>}
        </ScrollView>
    </View>);```

I have tried setting height, flex: 1, flexGrow: 1 everything but hard luck

Can anyone please help me in fixing this issue?


Viewing all articles
Browse latest Browse all 28476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>