react-native-app-intro icon indicating copy to clipboard operation
react-native-app-intro copied to clipboard

view cannot response touchableopacity onpress

Open kendy37 opened this issue 7 years ago • 3 comments

hello,i have a problem here: <View style={styles.info}> <View level={-5}><Text style={styles.title}>title</Text></View> <View level={-15}><Text style={styles.description}>description</Text></View> <View level={-10} style={{marginTop:10,height: 50,}} > <TouchableOpacity activeOpacity={0.9} onPress={() => {Alert.alert('Next');}}> <Image style={{ width: 45 * 2.5, height: 13 * 2.5 }} source={require('../ui-module/img/[email protected]')} /> </TouchableOpacity> </View> </View>

when i add a TouchableOpacity in a view of a page in the appintro, the onPress() didnot fire, is it a bug or something ? any advice?

kendy37 avatar May 31 '17 07:05 kendy37

This is most likely because overlaying View with the navigation is having a higher based index, with transparent background.

Actually I'll create a pull request changing that

w3z315 avatar Jun 01 '17 10:06 w3z315

Some news on that? Struggeling with the same bug right now.

tizzyapunkt avatar Aug 22 '17 12:08 tizzyapunkt

I have same problem....some news?

ddiegommachado avatar Mar 14 '19 17:03 ddiegommachado