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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -