onPress props : TouchableOpacity is not working in the latest version RN-0.71.1 #36157
Labels
Component: TouchableOpacity
Needs: Triage 🔍
Type: Upgrade Issue
Issues reported from upgrade issue form
New Version
0.71.1
Old Version
0.63.4
Build Target(s)
Android
Output of
react-native info
onPress prop is not working..
<View style={[styles.linkStyle, { backgroundColor: "green" }]}> <TouchableOpacity onPress={() => { console.log("onPress"); }} > <Text>Use Registered Alternate Number</Text> </TouchableOpacity>
Issue and Reproduction Steps
migrate to the latest RN-0.71.1
The text was updated successfully, but these errors were encountered: