Skip to content

Commit

Permalink
fix: Replacing TouableOpacity with View addresses issue 354
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean committed Aug 26, 2020
1 parent e868d6c commit 331824c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ export default class RNPickerSelect extends PureComponent {
const { selectedItem } = this.state;

return (
<TouchableOpacity
<View
testID="android_touchable_wrapper"
onPress={onOpen}
activeOpacity={1}
Expand All @@ -496,7 +496,7 @@ export default class RNPickerSelect extends PureComponent {
{this.renderPickerItems()}
</Picker>
</View>
</TouchableOpacity>
</View>
);
}

Expand Down

0 comments on commit 331824c

Please sign in to comment.