android - React Native - touch/gesture - overlapping views -


i have render function this. 2 fullscreen views visually overlapping each other; , there image in each view.

<view {styles.fullscreen}>     <view id='view1' style={styles.fullscreen}>         <touchableopacity><image source={image1} /></touchableopacity>     </view>     <view id='view1' style={styles.fullscreen}>         <touchableopacity><image source={image2} /></touchableopacity>     </view> </view> 

i touch response image2 not image1.

is possible have touch response image1 too, without changing view hierarchy? how can pass touch event down view1?

styles.fullscreen = {position: 'absolute', top:0, left:0, width: screenwidth, height: screenheight}

thanks.


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -