react native: 0.43.3
The problem only occurs in the Android, iOS system in order. When I touch the TouchableOpacity component, the onTouch function will not execute.
Has anyone found this problem?
I created a calendar with RN. The problem is that when I click the "Day" block on Android devices or emulators, I get the error undefined is not and object (rating "_props [registrationName]"). But it’s normal to click it on iOS devices and emulators. The code for the Day component is as follows:
<TouchableOpacity style={styles.calendarRowUnit} onPress={() => this.props.onSelect(this.props.date)}>
<View style={dateWrapperStyle}>
<Text style={dateTextStyle}>{dateString}</Text>
</View>
</TouchableOpacity>
And error image:
iamge error information
, "" .
, , , . , , , 0,43.3.