Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hetanthakkar committed Oct 31, 2021
1 parent f58c496 commit ee17d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/Components/Touchable/TouchableOpacity.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class TouchableOpacity extends React.Component<Props, State> {
onLongPress: this.props.onLongPress,
onPress: this.props.onPress,
onPressIn: event => {
this._opacityInactive(250);
this._opacityActive(
event.dispatchConfig.registrationName === 'onResponderGrant'
? 0
Expand All @@ -173,7 +174,6 @@ class TouchableOpacity extends React.Component<Props, State> {
}
},
onPressOut: event => {
this._opacityInactive(250);
if (this.props.onPressOut != null) {
this.props.onPressOut(event);
}
Expand Down

0 comments on commit ee17d78

Please sign in to comment.