I noticed that replacing TouchableWithoutFeedback with TouchableHighlight or TouchableOpacity can lead to layout differences. Is this expected?
Example:
<TouchableWithoutFeedback onPress={this.onClick}> <View style={styles.row_container}> <Text style={styles.row_text}> {'I count the number of taps: ' + this.state.clicks} </Text> </View> </TouchableWithoutFeedback>
With TouchableWithoutFeedback :

Replacing it with TouchableOpacity :

Styles:
row_container: { backgroundColor: 'rgba(0, 0, 0, 0.1)', flex: 1, height: 100, borderColor: '#333333', borderWidth: 1, borderRadius: 5, padding: 5, }, row_text: { flex: 1, fontSize: 18, alignSelf: 'center', },
source share