I'm using android, and why is that when there is a scroll bar, the map is not reacting fluidly to the touch events. I'm trying to drag the map but the whole page is scrolling up. How do we make it in a way that when we drag inside the map, only the map container will respond to touch events?
If there is no scrollbar / only leaflet is in the screen, the map pans/drag gracefully.
PS: I have tried setting tap:false in map options, but it doesn't work. I am using leaflet 1.0.3
Example code:
MainForm component
<Container>
<Header>
<Title>Main</Title>
</Header>
<Content>
<TestWV />
<Grid>
<Col style={{ height: 700,
justifyContent: 'center',
alignItems: 'center', }}
>
<Row size={1} >
<TouchableOpacity onPress={this.onMiniApp1Press.bind(this)}>
<Thumbnail square size={100} source={oneminute}
/>
</TouchableOpacity>
</Row>
<Row size={1} >
</Row>
</Col>
<Col style={{ height: 700,
justifyContent: 'center',
alignItems: 'center', }}
>
<Row size={1} >
<TouchableOpacity>
<Thumbnail square size={100} source={pakipoo}
/>
</TouchableOpacity>
</Row>
<Row size={1} >
</Row>
</Col>
</Grid>
</Content>
</Container>
TestWV component
<View>
<WebView
source={{uri: 'http://yahoo.com'}}
javaScriptEnabled={true}
domStorageEnabled={true}
startInLoadingState={true}
style={{ height: 500, flex: 1 }}
>
</WebView>
</View>